README.md

This commit is contained in:
Gwendal Roué committed 2015-07-01 20:00:36 +02:00
1 parent b8696d80eb
commit e887c4fc32
1 file changed
+2 -1
+2 -1
View File
@@ -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) " +