mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-18 04:31:57 -05:00
7b9f9a487b
Signed-off-by: David Mehren <git@herrmehren.de>
18 lines
418 B
JavaScript
18 lines
418 B
JavaScript
'use strict'
|
|
module.exports = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
return queryInterface.createTable('Temp', {
|
|
id: {
|
|
type: Sequelize.STRING,
|
|
primaryKey: true
|
|
},
|
|
date: Sequelize.TEXT,
|
|
createdAt: Sequelize.DATE,
|
|
updatedAt: Sequelize.DATE
|
|
})
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
return queryInterface.dropTable('Temp')
|
|
}
|
|
}
|