         db?.create(table: db![tableName] , ifNotExists : true){t in
             t.column(self.id)
             t.column(self.json)
-            t.column(self.createTime, defaultValue: NSDate())
+            t.column(self.createdTime, defaultValue: NSDate())
             t.primaryKey(self.id)
         }
     }

                var item = YTKKeyValueItem_Swift()
                item.itemId = row[self.id]
                item.itemObject = YTKObject(value:row[self.json])
                item.createdTime = row.get(self.createTime)
                result.append(item)
            }
        }

        if let table = db?[tableName]{
            let filter =  table.filter(self.id == objectId).limit(1)
            if filter.isEmpty{
                table.insert(self.id <- objectId , self.json <- jsonString! , self.createdTime <- NSDate())?
            }else{
                filter.update(self.json <- jsonString! , self.createdTime <- NSDate() )?
            }
        }
       
