pgroll/examples/11_drop_index.json
Andrew Farries 9d6ad24fb1
Implement 'drop index' migrations (#51)
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.
2023-08-18 06:38:48 +01:00

11 lines
137 B
JSON

{
"name": "11_drop_index",
"operations": [
{
"drop_index": {
"name": "_pgroll_idx_fruits_name"
}
}
]
}