25
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2026-07-26 15:55:28 +02:00
HedgeDoc/lib/migrations/20260622225700-remove-temp.js
Philip Molares 0749c31100 refactor: remove Temp
This was a very old way of migrating the history and is no longer needed.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2026-07-22 22:54:36 +02:00

19 lines
407 B
JavaScript

'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.dropTable('Temp')
},
down: function (queryInterface, Sequelize) {
return queryInterface.createTable('Temp', {
id: {
type: Sequelize.STRING,
primaryKey: true
},
date: Sequelize.TEXT,
createdAt: Sequelize.DATE,
updatedAt: Sequelize.DATE
})
}
}