feat: harden loose-offline sync for user JWT, schema, and console ops
Enable Binding-scoped agent push/pull, empty-table schema ensure, SyncPage inspect/drop-table, default module import, and agent-bound publish docs from the 宇恒联调意见. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -124,6 +124,14 @@ CREATE TABLE IF NOT EXISTS platform_meta.role_permissions (
|
||||
ALTER TABLE platform_meta.agent_accounts
|
||||
ADD COLUMN IF NOT EXISTS role_id BIGINT;
|
||||
|
||||
-- Z8b:智能体绑定同步通道 / 线上库 / 模块落库名
|
||||
ALTER TABLE platform_meta.agent_accounts
|
||||
ADD COLUMN IF NOT EXISTS channel_id VARCHAR(128) NOT NULL DEFAULT '';
|
||||
ALTER TABLE platform_meta.agent_accounts
|
||||
ADD COLUMN IF NOT EXISTS online_db_id VARCHAR(128) NOT NULL DEFAULT '';
|
||||
ALTER TABLE platform_meta.agent_accounts
|
||||
ADD COLUMN IF NOT EXISTS database_name VARCHAR(128) NOT NULL DEFAULT '';
|
||||
|
||||
-- 租户邀请码:pending 用户凭码加入已有公司
|
||||
CREATE TABLE IF NOT EXISTS platform_meta.tenant_invites (
|
||||
invite_id BIGSERIAL PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user