Commit c79adaa 1 parent 97ec237 commit c79adaa Copy full SHA for c79adaa
File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -250,12 +250,13 @@ + (void)migrateDatabase:(FMDatabase *)database
250
250
database.userVersion = (uint32_t )23 ;
251
251
NSLog (@" Updated database schema to version 23." );
252
252
}
253
- case 24 : {
253
+ case 24 :
254
+ case 25 : {
254
255
// correct articles that were saved with updatedDate is 1.1.1970 00:00
255
256
[database executeStatements: @" UPDATE messages SET date = createddate WHERE date = 0" ];
256
257
257
- database.userVersion = (uint32_t )24 ;
258
- NSLog (@" Updated database schema to version 24 ." );
258
+ database.userVersion = (uint32_t )25 ;
259
+ NSLog (@" Updated database schema to version 25 ." );
259
260
}
260
261
}
261
262
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ + (NSString *)databasePath;
58
58
59
59
// The current database version number
60
60
static NSInteger const VNAMinimumSupportedDatabaseVersion = 12 ;
61
- static NSInteger const VNACurrentDatabaseVersion = 24 ;
61
+ static NSInteger const VNACurrentDatabaseVersion = 25 ;
62
62
63
63
@implementation Database
64
64
You can’t perform that action at this time.
0 commit comments