diff --git a/README.md b/README.md index 0c89bfc6b..a5b160998 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ migrator.registerMigration("createPersons") { db in } migrator.registerMigration("createPets") { db in // Support for foreign keys is enabled by default: - try db.execute("CREATE TABLE pets (" + + try db.execute( + "CREATE TABLE pets (" + "id INTEGER PRIMARY KEY, " + "masterID INTEGER NOT NULL " + " REFERENCES persons(id) " +