databaseChangeLog:
- changeSet:
id: renameTable-example
author: liquibase-docs
changes:
- renameTable:
catalogName: cat
newTableName: employee
oldTableName: person
schemaName: public
"databaseChangeLog": [
"changeSet": {
"id": "renameTable-example",
"author": "liquibase-docs",
"changes": [
"renameTable": {
"catalogName": "cat",
"newTableName": "employee",
"oldTableName": "person",
"schemaName": "public"
--liquibase formatted sql
--changeset liquibase-docs:renameTable-example
ALTER TABLE cat.person RENAME TO cat.employee;
Database support
Database
Notes
Auto Rollback
© 2024 Liquibase Inc. All Rights Reserved.
Liquibase is a registered trademark of Liquibase Inc.
(737) 402-7187