mirror of
https://github.com/xataio/pgroll.git
synced 2024-07-14 09:00:28 +03:00
Add rename table operation. I worked a bit toward table-based testing with reusable code in `op_common_test.go` --------- Co-authored-by: Andrew Farries <andyrb@gmail.com>
12 lines
152 B
JSON
12 lines
152 B
JSON
{
|
|
"name": "04_rename_table",
|
|
"operations": [
|
|
{
|
|
"rename_table": {
|
|
"from": "customers",
|
|
"to": "clients"
|
|
}
|
|
}
|
|
]
|
|
}
|