digital_operation_20231123.sql 887 B

12345678910111213141516
  1. -- bi模块 - 王坤
  2. ALTER TABLE digital_operation.cube_data ADD display_status tinyint DEFAULT 1 NOT NULL COMMENT '是否显示[静态数据创建的数据集不显示] 1:可以[默认],0:不可以';
  3. drop table if exists `cube_table_static`;
  4. CREATE TABLE `cube_table_static` (
  5. `id` int(11) NOT NULL AUTO_INCREMENT,
  6. `datasource_id` int NOT NULL COMMENT '数据源ID',
  7. `cube_data_id` int NOT NULL COMMENT '数据集ID',
  8. `table_comment` varchar(200) NOT NULL COMMENT '表注释',
  9. `table_name` varchar(100) NOT NULL COMMENT '表名',
  10. `create_time` datetime NOT NULL COMMENT '创建时间',
  11. `create_by` varchar(100) NOT NULL COMMENT '创建人姓名',
  12. `create_user_id` bigint(20) NOT NULL COMMENT '创建人ID',
  13. `tenant_id` varchar(12) DEFAULT NULL COMMENT '租户id',
  14. PRIMARY KEY (`id`)
  15. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='数据集_静态数据表';