Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: add tidb enum test (#8976)
zll600c26b217dc343
diff --git a/backend/api/v1/testdata/tidb/design.yaml b/backend/api/v1/testdata/tidb/design.yamlindex 7590877ba8..bba880a4be 100644--- a/backend/api/v1/testdata/tidb/design.yaml+++ b/backend/api/v1/testdata/tidb/design.yaml@@ -21,11 +21,33 @@`id` int(11) NOT NULL COMMENT 'ID',PRIMARY KEY (`id`) /*T![clustered_index] CLUSTERED */) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;+ CREATE TABLE `rds` (+ `id` bigint(20) NOT NULL,+ `binlog_format` enum('ROW','MIXED','STATEMENT','')+ );target: |-{"schemas": [{"tables": [+ {+ "name": "rds",+ "columns": [+ {+ "name": "id",+ "type": "bigint(20)",+ "comment": "ID"+ },+ {+ "name": "binlog_format",+ "nullable": true,+ "type": "enum('ROW','MIXED','STATEMENT','')"+ }+ ],+ "indexes": [+ ],+ "comment": "hello"+ },{"name": "users","columns": [@@ -189,6 +211,10 @@`name` binary(10) NULL,PRIMARY KEY(`id`) CLUSTERED) ENGINE = InnoDB DEFAULT CHARACTER SET = UTF8MB4 DEFAULT COLLATE = UTF8MB4_BIN COMMENT 'hello';+ CREATE TABLE `rds` (+ `id` bigint(20) NOT NULL COMMENT 'ID',+ `binlog_format` enum('ROW','MIXED','STATEMENT','')+ ) COMMENT 'hello';CREATE TABLE `t2` (`b` int NULL,