Pen Li 9 лет назад
Родитель
Сommit
85b2961f46

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 2
RedAnt ERP Mobile/common/data_provider/iSalesDB.m

@@ -786,8 +786,6 @@ void decryptfield (sqlite3_context *context, int argc, sqlite3_value **argv) {
 //    [self alterTable:@"model" columns:@"product" rename:YES db:db];
     
     [self alterTable:@"product" columns:@"has_bundle integer;is_active integer;item_id integer" rename:NO db:db];
-    [self alterTable:@"product" columns:@"ship_via text" rename:NO db:db];
-    
     
     [self alterTable:@"model_image" columns:@"item_id integer;picture_id integer" rename:NO db:db];
     
@@ -806,6 +804,7 @@ void decryptfield (sqlite3_context *context, int argc, sqlite3_value **argv) {
     
     
     [self alterTable:@"offline_order" columns:@"modify_time TIMESTAMP" rename:NO db:db];
+    [self alterTable:@"offline_order" columns:@"ship_via text" rename:NO db:db];
 //    NSString *rename_model_to_product = @"alter model rename to product";
 //    [self execSql:rename_model_to_product db:db];
 //