mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
#80 Add schema change
This commit is contained in:
parent
d600cdd359
commit
90aa74a464
1
migrations/20150210152531-006-rename-eventtype.js
Normal file
1
migrations/20150210152531-006-rename-eventtype.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('../lib/migrationRunner').create('006-rename-eventtype');
|
2
migrations/sql/006-rename-eventtype.down.sql
Normal file
2
migrations/sql/006-rename-eventtype.down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
UPDATE events SET type=feature-revive WHERE type=feature-revived;
|
||||
UPDATE events SET type=feature-archive WHERE type=feature-archived;
|
2
migrations/sql/006-rename-eventtype.up.sql
Normal file
2
migrations/sql/006-rename-eventtype.up.sql
Normal file
@ -0,0 +1,2 @@
|
||||
UPDATE events SET type=feature-revived WHERE type=feature-revive;
|
||||
UPDATE events SET type=feature-archived WHERE type=feature-archive;
|
Loading…
Reference in New Issue
Block a user