mirror of
https://github.com/vran-dev/databasir.git
synced 2025-09-20 02:39:20 +08:00
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:
@@ -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';
|
Reference in New Issue
Block a user