From 5e771062976332fd6cebe0150ae799eac370faf0 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 2 Sep 2024 19:02:47 +0200 Subject: [PATCH] Undelete bio items (#1346) --- prisma/migrations/20240902125646_undelete_bios/migration.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 prisma/migrations/20240902125646_undelete_bios/migration.sql diff --git a/prisma/migrations/20240902125646_undelete_bios/migration.sql b/prisma/migrations/20240902125646_undelete_bios/migration.sql new file mode 100644 index 00000000..cab07644 --- /dev/null +++ b/prisma/migrations/20240902125646_undelete_bios/migration.sql @@ -0,0 +1,4 @@ +-- we had a bug where it was possible to delete bios, this migration will restore them +UPDATE "Item" +SET "deletedAt" = NULL +WHERE "bio"