mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
Add support for **drop index** migrations. A drop index migration looks like this: ```json { "name": "11_drop_index", "operations": [ { "drop_index": { "name": "_pgroll_idx_users_name" } } ] } ``` * `Start` is a no-op. * On `Complete` the index is removed from the underlying table. * `Rollback` is a no-op.
11 lines
137 B
JSON
11 lines
137 B
JSON
{
|
|
"name": "11_drop_index",
|
|
"operations": [
|
|
{
|
|
"drop_index": {
|
|
"name": "_pgroll_idx_fruits_name"
|
|
}
|
|
}
|
|
]
|
|
}
|