pgroll/examples/11_drop_index.json
Andrew Farries eacb929840
Make index name mandatory on create index operation (#59)
Make specifying a name mandatory on the **Create index** operation. 

In order to work with indexes in subsequent migrations (eg deleting the
index), the user will have to know the name of the migration. If the
migration name is auto-generated and we ever change how names are
generated, then we risk breaking a user's migrations if they have
migrations that refer to these generated names.
2023-08-18 08:55:25 +01:00

11 lines
129 B
JSON

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