mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-18 05:11:04 -05:00
7b9f9a487b
Signed-off-by: David Mehren <git@herrmehren.de>
13 lines
345 B
JavaScript
13 lines
345 B
JavaScript
'use strict'
|
|
module.exports = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
return queryInterface.addColumn('Users', 'deleteToken', {
|
|
type: Sequelize.UUID,
|
|
defaultValue: Sequelize.UUIDV4
|
|
})
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
return queryInterface.removeColumn('Users', 'deleteToken')
|
|
}
|
|
}
|