/* Warnings: - Added the required column `ownerId` to the `Channel` table without a default value. This is not possible if the table is not empty. */ -- RedefineTables PRAGMA defer_foreign_keys=ON; PRAGMA foreign_keys=OFF; CREATE TABLE "new_Channel" ( "id" TEXT NOT NULL PRIMARY KEY, "ownerId" TEXT NOT NULL, "name" TEXT NOT NULL, "persistent" BOOLEAN NOT NULL ); INSERT INTO "new_Channel" ("id", "name", "persistent") SELECT "id", "name", "persistent" FROM "Channel"; DROP TABLE "Channel"; ALTER TABLE "new_Channel" RENAME TO "Channel"; PRAGMA foreign_keys=ON; PRAGMA defer_foreign_keys=OFF;