我在开始时使用主键创建 DATABASECHANGELOG 表。这可能不是正确的方法,但它会有所帮助
CREATE TABLE "DATABASECHANGELOG" (
"ID" varchar(255) NOT NULL,
"AUTHOR" varchar(255) NOT NULL,
"FILENAME" varchar(255) NOT NULL,
"DATEEXECUTED" datetime NOT NULL,
"ORDEREXECUTED" varchar(10) NOT NULL,
"EXECTYPE" varchar(45) NOT NULL,
"MD5SUM" varchar(35) DEFAULT NULL,
"DESCRIPTION" varchar(255) DEFAULT NULL,
"COMMENTS" varchar(255) DEFAULT NULL,
"TAG" varchar(255) DEFAULT NULL,
"LIQUIBASE" varchar(20) DEFAULT NULL,
"CONTEXTS" varchar(255) DEFAULT NULL,
"LABELS" varchar(255) DEFAULT NULL,
"DEPLOYMENT_ID" varchar(10) DEFAULT NULL,
PRIMARY KEY ("ID")
)