Feature: support custom document table header (#60)

* feat: template property jooq generate

* feat: add template property api

* feat: update export logic

* feat: update frontend resources
This commit is contained in:
vran
2022-03-23 14:13:27 +08:00
committed by GitHub
parent 4deebab2cb
commit 38f388c7ab
60 changed files with 1282 additions and 176 deletions

View File

@@ -330,4 +330,16 @@ CREATE TABLE IF NOT EXISTS document_description
create_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT UNIQUE uk_project_id_table_name_column_name (project_id, table_name, column_name)
) CHARSET utf8mb4
COLLATE utf8mb4_unicode_ci COMMENT 'custom document description';
COLLATE utf8mb4_unicode_ci COMMENT 'custom document description';
CREATE TABLE IF NOT EXISTS document_template_property
(
`id` INT PRIMARY KEY AUTO_INCREMENT,
`key` VARCHAR(255) NOT NULL,
`value` VARCHAR(255) DEFAULT NULL,
`default_value` VARCHAR(255) NOT NULL,
`type` VARCHAR(64) NOT NULL,
`create_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT UNIQUE uk_type_key (`type`, `key`)
) CHARSET utf8mb4
COLLATE utf8mb4_unicode_ci COMMENT 'template property';