Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

add missing migration for the current schema

Roman Pominov6c8f968fc5c8
diff --git a/packages/prisma-client/prisma/migrations/20221021172622_asset_format_notnull/migration.sql b/packages/prisma-client/prisma/migrations/20221021172622_asset_format_notnull/migration.sql
new file mode 100644
index 0000000000..b0ebbdef8a
--- /dev/null
+++ b/packages/prisma-client/prisma/migrations/20221021172622_asset_format_notnull/migration.sql
@@ -0,0 +1,2 @@
+-- AlterTable
+ALTER TABLE "Asset" ALTER COLUMN "format" SET NOT NULL;