From 1338a12ac6fe681462acec394635cacfdbdcf3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 5 Nov 2015 09:04:29 +0100 Subject: [PATCH] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2064a0bb1..69c61905f 100644 --- a/README.md +++ b/README.md @@ -1188,7 +1188,7 @@ Yet any kind of schema change is still possible. The SQLite documentation explai migrator.registerMigrationWithoutForeignKeyChecks("AddNotNullCheckOnName") { db in try db.executeMultiStatement( "CREATE TABLE new_persons (id INTEGER PRIMARY KEY, name TEXT NOT NULL);" + - "INSERT INTO new_persons SELECT id, name FROM persons;" + + "INSERT INTO new_persons SELECT * FROM persons;" + "DROP TABLE persons;" + "ALTER TABLE new_persons RENAME TO persons;") }