mirror of
https://github.com/xataio/pgroll.git
synced 2024-09-11 05:45:48 +03:00
Add support for a new **set replica identity** operation type. The new operation looks like this: ```json { "name": "29_set_replica_identity", "operations": [ { "set_replica_identity": { "table": "fruits", "identity": { "type": "full" } } } ] } ``` This sets the replica identity for the `fruits` table to `FULL`. The other supported operation types are 'nothing', 'default', and 'index'. If the replica identity is being set to an index, the operation looks like: ```json { "name": "29_set_replica_identity", "operations": [ { "set_replica_identity": { "table": "fruits", "identity": { "type": "index", "index": "some_index_name" } } } ] } ``` The replica identity is set directly on the underlying table on operation start. This means that both versions of the table exposed in the new and old versioned views will have the new replica identity set. The docs have been updated with the details of the new operation [here](https://github.com/xataio/pgroll/blob/set-replica-identity/docs/README.md#set-replica-identity). |
||
---|---|---|
.. | ||
01_create_tables.json | ||
02_create_another_table.json | ||
03_add_column.json | ||
04_rename_table.json | ||
05_sql.json | ||
06_add_column_to_sql_table.json | ||
07_drop_table.json | ||
08_create_fruits_table.json | ||
09_drop_column.json | ||
10_create_index.json | ||
11_drop_index.json | ||
12_create_employees_table.json | ||
13_rename_column.json | ||
14_add_reviews_table.json | ||
15_set_column_unique.json | ||
16_set_nullable.json | ||
17_add_rating_column.json | ||
18_change_column_type.json | ||
19_create_orders_table.json | ||
20_create_posts_table.json | ||
21_add_foreign_key_constraint.json | ||
22_add_check_constraint.json | ||
23_drop_check_constraint.json | ||
24_drop_foreign_key_constraint.json | ||
25_add_table_with_check_constraint.json | ||
26_add_column_with_check_constraint.json | ||
27_drop_unique_constraint.json | ||
28_different_defaults.json | ||
29_set_replica_identity.json |