diff options
| author | Adam Soltys <[email protected]> | 2018-02-15 20:45:10 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2018-02-15 20:45:10 -0800 |
| commit | b0ef3db4a931646bd39be6e6a48745c121144291 (patch) | |
| tree | 1fb7e7ed22992d519ed3ccbd65a90a3fd9482d71 /migrations | |
| parent | 6d40624ff510387f75f2d96f421f1ffb6c39ae1c (diff) | |
| download | coinos-server-b0ef3db4a931646bd39be6e6a48745c121144291.tar.gz coinos-server-b0ef3db4a931646bd39be6e6a48745c121144291.zip | |
open channel
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') + } +}; |
