While creating a table in snowflake using the sql queries with changelog file in liquibase.In the schema DATABASECHANGELOGLOCK has created. But its shows the following error:
Unexpected error running Liquibase: SQL compilation error: Object 'DATABASECHANGELOGLOCK' already exists. [Failed SQL: (2002) CREATE TABLE DATABASECHANGELOGLOCK (ID INT NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED TIMESTAMP_NTZ, LOCKEDBY VARCHAR(255), CONSTRAINT PK_DATABASECHANGELOGLOCK PRIMARY KEY (ID))]
there is already saved your
sql script file
orchangeset of xml file
for liquibase inDATABASECHANGELOGLOCK
table in database.Resolution
: you need toDELETE
related row inDATABASECHANGELOGLOCK
table in database