diff --git a/README.md b/README.md index 6fb99f4da..90121bdab 100644 --- a/README.md +++ b/README.md @@ -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)