mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
14 lines
333 B
JavaScript
14 lines
333 B
JavaScript
|
'use strict'
|
||
|
module.exports = {
|
||
|
up: function (queryInterface, Sequelize) {
|
||
|
return queryInterface.addColumn('Users', 'deleteToken', {
|
||
|
type: Sequelize.UUID,
|
||
|
defaultValue: Sequelize.UUIDV4
|
||
|
})
|
||
|
},
|
||
|
|
||
|
down: function (queryInterface, Sequelize) {
|
||
|
return queryInterface.removeColumn('Users', 'deleteToken')
|
||
|
}
|
||
|
}
|