diff --git a/migrations/20141117200435-add-parameters-template-to-strategies.js b/migrations/20141117200435-add-parameters-template-to-strategies.js new file mode 100644 index 0000000000..fefd06f514 --- /dev/null +++ b/migrations/20141117200435-add-parameters-template-to-strategies.js @@ -0,0 +1 @@ +module.exports = require('../lib/migrationRunner').create('003-add-parameters-template-to-strategies'); diff --git a/migrations/sql/003-add-parameters-template-to-strategies.down.sql b/migrations/sql/003-add-parameters-template-to-strategies.down.sql new file mode 100644 index 0000000000..103a1caecd --- /dev/null +++ b/migrations/sql/003-add-parameters-template-to-strategies.down.sql @@ -0,0 +1 @@ +ALTER TABLE strategies DROP COLUMN "parameters_template"; \ No newline at end of file diff --git a/migrations/sql/003-add-parameters-template-to-strategies.up.sql b/migrations/sql/003-add-parameters-template-to-strategies.up.sql new file mode 100644 index 0000000000..6c5055b4d6 --- /dev/null +++ b/migrations/sql/003-add-parameters-template-to-strategies.up.sql @@ -0,0 +1 @@ +ALTER TABLE strategies ADD "parameters_template" json;