2017-03-14 05:02:43 +00:00
|
|
|
'use strict'
|
2016-05-15 04:20:42 +00:00
|
|
|
module.exports = {
|
2017-03-08 10:45:51 +00:00
|
|
|
up: function (queryInterface, Sequelize) {
|
|
|
|
queryInterface.addColumn('Users', 'accessToken', Sequelize.STRING)
|
|
|
|
queryInterface.addColumn('Users', 'refreshToken', Sequelize.STRING)
|
|
|
|
},
|
2016-05-15 04:20:42 +00:00
|
|
|
|
2017-03-08 10:45:51 +00:00
|
|
|
down: function (queryInterface, Sequelize) {
|
|
|
|
queryInterface.removeColumn('Users', 'accessToken')
|
|
|
|
queryInterface.removeColumn('Users', 'refreshToken')
|
|
|
|
}
|
|
|
|
}
|