/* Warnings: - You are about to drop the column `deleted` on the `Story` table. All the data in the column will be lost. */ -- RedefineTables PRAGMA defer_foreign_keys=ON; PRAGMA foreign_keys=OFF; CREATE TABLE "new_Story" ( "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "word_count" INTEGER NOT NULL, "title" TEXT NOT NULL ); INSERT INTO "new_Story" ("id", "title", "word_count") SELECT "id", "title", "word_count" FROM "Story"; DROP TABLE "Story"; ALTER TABLE "new_Story" RENAME TO "Story"; PRAGMA foreign_keys=ON; PRAGMA defer_foreign_keys=OFF;