diff --git a/prisma/migrations/20251112091315_add_board_preview_column/migration.sql b/prisma/migrations/20251112091315_add_board_preview_column/migration.sql new file mode 100644 index 0000000..0de9d26 --- /dev/null +++ b/prisma/migrations/20251112091315_add_board_preview_column/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - Added the required column `boardPreview` to the `BoardState` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE "BoardState" ADD COLUMN "boardPreview" JSONB NOT NULL; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index ff842dc..4719673 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -20,4 +20,5 @@ model BoardState { createdAt DateTime @default(now()) boardData Json boardName String + boardPreview Json } diff --git a/src/iframe/life-game.html b/src/iframe/life-game.html index 8d75d39..0c4d69c 100644 --- a/src/iframe/life-game.html +++ b/src/iframe/life-game.html @@ -5,6 +5,7 @@
-