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 |
||
---|---|---|
.. | ||
sql | ||
20141020151056-initial-schema.js | ||
20141110144153-add-description-to-features.js | ||
20141117200435-add-parameters-template-to-strategies.js | ||
20141117202209-insert-default-strategy.js | ||
20141118071458-default-strategy-event.js | ||
20141215210141-005-archived-flag-to-features.js | ||
20150210152531-006-rename-eventtype.js | ||
20160618193924-add-strategies-to-features.js |