From b0ef3db4a931646bd39be6e6a48745c121144291 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 15 Feb 2018 20:45:10 -0800 Subject: open channel --- migrations/20180215052148-addChannelPoint.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 migrations/20180215052148-addChannelPoint.js (limited to 'migrations') diff --git a/migrations/20180215052148-addChannelPoint.js b/migrations/20180215052148-addChannelPoint.js new file mode 100644 index 00000000..3c175713 --- /dev/null +++ b/migrations/20180215052148-addChannelPoint.js @@ -0,0 +1,11 @@ +'use strict'; + +module.exports = { + up: (queryInterface, Sequelize) => { + return queryInterface.addColumn('users', 'channel', { type: Sequelize.STRING }) + }, + + down: (queryInterface, Sequelize) => { + return queryInterface.removeColumn('users', 'channel') + } +}; -- cgit v1.2.3