Skip to content

Commit c7a5ad6

Browse files
committed
Merge pull request li6185377#51 from NathanLi/master
去掉将 double 映射为 sqlite text 的限定
2 parents e69494b + 278a9cf commit c7a5ad6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

LKDBHelper/Helper/LKDBHelper.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,6 @@ - (BOOL)_createTableWithModelClass:(Class)modelClass tableName:(NSString*)tableN
625625

626626
NSString* columnType = property.sqlColumnType;
627627

628-
if ([columnType isEqualToString:LKSQL_Type_Double]) {
629-
columnType = LKSQL_Type_Text;
630-
}
631-
632628
[table_pars appendFormat:@"%@ %@", property.sqlColumnName, columnType];
633629

634630
if ([property.sqlColumnType isEqualToString:LKSQL_Type_Text]) {
@@ -1580,4 +1576,4 @@ + (LKDBHelper*)getUsingLKDBHelper
15801576

15811577
@implementation LKDBWeakObject
15821578

1583-
@end
1579+
@end

0 commit comments

Comments
 (0)