mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
15 lines
454 B
JavaScript
15 lines
454 B
JavaScript
|
"use strict";
|
||
|
|
||
|
module.exports = {
|
||
|
up: function (queryInterface, Sequelize) {
|
||
|
queryInterface.addColumn('Users', 'accessToken', Sequelize.STRING);
|
||
|
queryInterface.addColumn('Users', 'refreshToken', Sequelize.STRING);
|
||
|
return;
|
||
|
},
|
||
|
|
||
|
down: function (queryInterface, Sequelize) {
|
||
|
queryInterface.removeColumn('Users', 'accessToken');
|
||
|
queryInterface.removeColumn('Users', 'refreshToken');
|
||
|
return;
|
||
|
}
|
||
|
};
|