From a56d92e153fdf1fc72745eb0bba8cafc0283d8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20=C3=98sthus?= Date: Mon, 17 Nov 2014 21:13:26 +0100 Subject: [PATCH] added parameters-template to strategies table --- .../20141117200435-add-parameters-template-to-strategies.js | 1 + .../sql/003-add-parameters-template-to-strategies.down.sql | 1 + migrations/sql/003-add-parameters-template-to-strategies.up.sql | 1 + 3 files changed, 3 insertions(+) create mode 100644 migrations/20141117200435-add-parameters-template-to-strategies.js create mode 100644 migrations/sql/003-add-parameters-template-to-strategies.down.sql create mode 100644 migrations/sql/003-add-parameters-template-to-strategies.up.sql 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;