You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interleaved table relations are not included in generated change logs when taking a snapshot of an existing database.
Steps to reproduce:
Use for example DDL as below to create new table on Spanner:
CREATETABLETEST (
TEST_LOC STRING(8) NOT NULL,
) PRIMARY KEY(TEST_LOC);
CREATETABLETEST_CONTNT (
TEST_LOC STRING(8) NOT NULL,
) PRIMARY KEY(TEST_LOC),
INTERLEAVE IN PARENT TEST ON DELETE CASCADE;
Then run: liquibase --url="jdbc:cloudspanner:/projects/<project>/instances/<instance>/databases/<database>" --changeLogFile=changeLog.yml generateChangeLog
The generated change log will contain both tables, but the INTERLEAVE IN PARENT clause of the child table will not be generated.
Originally reported in #78. The problem that these relations were generated as a nameless foreign key has been fixed.
The text was updated successfully, but these errors were encountered:
Descripton:
Interleaved table relations are not included in generated change logs when taking a snapshot of an existing database.
Steps to reproduce:
Use for example DDL as below to create new table on Spanner:
Then run:
liquibase --url="jdbc:cloudspanner:/projects/<project>/instances/<instance>/databases/<database>" --changeLogFile=changeLog.yml generateChangeLog
The generated change log will contain both tables, but the
INTERLEAVE IN PARENT
clause of the child table will not be generated.Originally reported in #78. The problem that these relations were generated as a nameless foreign key has been fixed.
The text was updated successfully, but these errors were encountered: