mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
0cb45f110c
This commit changes the features-tables: - drop columns 'strategy' and 'parameters' - add column 'strategies' of type json. - migrates existing strategy-mappings in to the new format. The idea is that the 'strategies' column should contain a json-array of strategy-configuration for the toggle: ``` [{ "name" : "strategy1", "parameters": { "name": "vale" } }] ``` To make sure to not break exiting clients the api is extended with a mapping layer (adding old fields to the json-respons, and mapping to the new format on create/update a feature toggle. this commit is first step in solving #102 |
||
---|---|---|
.. | ||
001-initial-schema.down.sql | ||
001-initial-schema.up.sql | ||
002-add-description-to-features.down.sql | ||
002-add-description-to-features.up.sql | ||
003-add-parameters-template-to-strategies.down.sql | ||
003-add-parameters-template-to-strategies.up.sql | ||
004-insert-default-strategy-event.down.sql | ||
004-insert-default-strategy-event.up.sql | ||
004-insert-default-strategy.down.sql | ||
004-insert-default-strategy.up.sql | ||
005-archived-flag-to-features.down.sql | ||
005-archived-flag-to-features.up.sql | ||
006-rename-eventtype.down.sql | ||
006-rename-eventtype.up.sql | ||
007-add-strategies-to-features.down.sql | ||
007-add-strategies-to-features.up.sql |