Is there a Liquibase version that allows Google Spanner to rename a table?
These are allowed from the Google Docs
ALTER TABLE table_name RENAME TO new_table_name;
RENAME TABLE table_name TO new_table_name;
Is there a Liquibase version that allows Google Spanner to rename a table?
These are allowed from the Google Docs
ALTER TABLE table_name RENAME TO new_table_name;
RENAME TABLE table_name TO new_table_name;
You add that custom sql to any type of changelog file. Here is a formatted sql example:
--liquibase formatted sql
--changeset bob:1
ALTER TABLE table_name RENAME TO new_table_name;
--rollback ALTER TABLE new_table_name RENAME TO table_name;