1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

db-migration: create default strategy with event

This commit is contained in:
ivaosthu 2014-11-18 08:16:38 +01:00
parent 578751ef94
commit 278a8da162
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
module.exports = require('../lib/migrationRunner').create('004-insert-default-strategy-event');

View File

@ -0,0 +1 @@
delete from events where type='strategy-created' and data->>'name' = 'default';

View File

@ -0,0 +1 @@
INSERT INTO events(type, created_by, data) values ('strategy-created', 'migration', '{"name":"default","description":"Default on or off Strategy."}');