mirror of
https://github.com/status-im/codimd.git
synced 2025-01-27 08:04:56 +00:00
147c20064f
Signed-off-by: Raccoon <raccoon@hackmd.io>
13 lines
312 B
TypeScript
13 lines
312 B
TypeScript
export = {
|
|
up: function (queryInterface, Sequelize) {
|
|
return queryInterface.addColumn('Users', 'deleteToken', {
|
|
type: Sequelize.UUID,
|
|
defaultValue: Sequelize.UUIDV4
|
|
})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
return queryInterface.removeColumn('Users', 'deleteToken')
|
|
}
|
|
}
|