pgroll/examples/07_drop_table.json
Andrew Farries 450e6db231
Implement the drop table operation (#45)
Add support for **drop table** migrations.

* On starting the migration the table is not dropped; but is not present
in the new version of the schema.
* The table is dropped on completion of the migration.
* Rollback is a no-op.
2023-08-17 06:43:42 +01:00

11 lines
122 B
JSON

{
"name": "07_drop_table",
"operations": [
{
"drop_table": {
"name": "products"
}
}
]
}