Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(server): generate migration for workspace pages default role (#10002)

Brooooooklyn5710e8c639ec
diff --git a/packages/backend/server/migrations/20250207025335_page_default_role_for_workspace_members/migration.sql b/packages/backend/server/migrations/20250207025335_page_default_role_for_workspace_members/migration.sql
new file mode 100644
index 0000000000..ef7820ab13
--- /dev/null
+++ b/packages/backend/server/migrations/20250207025335_page_default_role_for_workspace_members/migration.sql
@@ -0,0 +1,2 @@
+-- AlterTable
+ALTER TABLE "workspace_pages" ADD COLUMN "defaultRole" SMALLINT NOT NULL DEFAULT 30;