diff options
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/20180215052148-addChannelPoint.js | 11 |
1 files changed, 11 insertions, 0 deletions
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') + } +}; |
