mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
4bee7acf06
Add uniqueness information to each index recorded in `pgroll`'s internal schema representation. With the extra information, the entry for indexes in the schema representation now looks like: ```json "indexes": { "products_name_unique": { "name": "products_name_unique", "unique": true, }, "_pgroll_new_products_pkey": { "name": "_pgroll_new_products_pkey", "unique": true, } } ``` Having index uniqueness recorded in the schema representation will help with preserving uniqueness constraints on columns duplicated for backfilling (see https://github.com/xataio/pgroll/issues/227). |
||
---|---|---|
.. | ||
errors.go | ||
state_test.go | ||
state.go | ||
status.go |