From 636e5666573a6a9768eb825b2e35d55f7acef6b2 Mon Sep 17 00:00:00 2001 From: "jif2.zhang" Date: Mon, 26 Oct 2026 00:21:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(0.2.1):=20initdb=20=E5=A2=9E=E5=8A=A0=20pow?= =?UTF-8?q?ersync=20publication=20(=E6=9C=8D=E5=8A=A1=E4=B8=8D=E8=87=AA?= =?UTF-8?q?=E5=BB=BA,=20PSYNC=5FS1141)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/0.2.1/initdb/02-publication.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deploy/0.2.1/initdb/02-publication.sql diff --git a/deploy/0.2.1/initdb/02-publication.sql b/deploy/0.2.1/initdb/02-publication.sql new file mode 100644 index 0000000..2911281 --- /dev/null +++ b/deploy/0.2.1/initdb/02-publication.sql @@ -0,0 +1,10 @@ +-- 一次性初始化: PowerSync 逻辑复制所需 publication (服务不自建, 见 PSYNC_S1141) +-- 仅发布任务域 + User; 新增同步表时需 ALTER PUBLICATION powersync ADD TABLE ... +CREATE PUBLICATION powersync FOR TABLE + "Project", + "ProjectMember", + "BoardColumn", + "Task", + "TaskMember", + "TaskTag", + "User";