mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-22 17:26:33 +03:00
7c48974308
Before, the entire state was stored as a JSON encoded blob including all completed migrations. This commits moves the migrations into a dedicated table, which prevents the encoded from growing indefinitely. The size of the state probably wouldn't have become a problem but it feels weird for a schema migration tool to not use a proper schema. Next, the version stored in the state struct will be moved to a separate key in the `reshape.data` table and `State` will become an enum with the same structure as `Status`. The naming right now is a bit confusing. |
||
---|---|---|
.. | ||
add_column.rs | ||
add_index.rs | ||
alter_column.rs | ||
common.rs | ||
create_table.rs | ||
failure.rs | ||
remove_column.rs | ||
remove_index.rs | ||
remove_table.rs | ||
rename_table.rs |