mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
19 lines
406 B
JavaScript
19 lines
406 B
JavaScript
|
'use strict'
|
||
|
module.exports = {
|
||
|
up: function (queryInterface, Sequelize) {
|
||
|
return queryInterface.createTable('Temp', {
|
||
|
id: {
|
||
|
type: Sequelize.STRING,
|
||
|
primaryKey: true
|
||
|
},
|
||
|
date: Sequelize.TEXT,
|
||
|
createdAt: Sequelize.DATE,
|
||
|
updatedAt: Sequelize.DATE
|
||
|
})
|
||
|
},
|
||
|
|
||
|
down: function (queryInterface, Sequelize) {
|
||
|
return queryInterface.dropTable('Temp')
|
||
|
}
|
||
|
}
|