修改问题

这个提交包含在:
apple
2026-12-01 15:34:17 +08:00
父节点 4d8c05e765
当前提交 32a3242a46
共修改 38 个文件,包含 892 行新增和 94 行删除
+4
查看文件
@@ -1102,3 +1102,7 @@ migrations:
ownerUnit: integration
path: db/migration/integration/V20261130.281__create_reporting_execution.sql
sha256: 0f4552ba031b2696c13627f37aef5857ff4d92711fcf0eb4e3f8c77e32080720
- version: '20261201.282'
ownerUnit: integration
path: db/migration/integration/V20261201.282__create_reporting_direct_source.sql
sha256: 61e51dbda60bf28e726b89253d55030a5d73652a6f9e33483254498eff3b752a
@@ -0,0 +1,9 @@
-- Direct reporting bindings are separate from published dataset references.
CREATE TABLE dg_reporting_plan_source (
organization_id BIGINT NOT NULL,
plan_id VARCHAR(36) NOT NULL,
resource_code VARCHAR(128) NOT NULL,
binding_json LONGTEXT NOT NULL,
PRIMARY KEY (organization_id,plan_id,resource_code),
CONSTRAINT fk_reporting_plan_source FOREIGN KEY (organization_id,plan_id) REFERENCES dg_reporting_plan(organization_id,plan_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;