README.md

This commit is contained in:
Gwendal Roué committed 2015-11-04 20:01:56 +01:00
1 parent 729ea4c26c
commit d358518ab5
1 file changed
+4
+4
View File
@@ -1125,6 +1125,10 @@ migrator.registerMigration("AddAgeToPersons") { db in
try db.execute("ALTER TABLE persons ADD COLUMN age INT")
}
migrator.registerMigration("AddYearToBooks") { db in
try db.execute("ALTER TABLE books ADD COLUMN year INT")
}
// (Future migrations here)
try migrator.migrate(dbQueue)