mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -04:00
fix: Add missing migration
This commit is contained in:
parent
b2985085d0
commit
6f14822413
7 changed files with 139 additions and 0 deletions
14
lib/migrations/20150915153700-change-notes-title-to-text.js
Normal file
14
lib/migrations/20150915153700-change-notes-title-to-text.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
'use strict'
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
return queryInterface.changeColumn('Notes', 'title', {
|
||||
type: Sequelize.TEXT
|
||||
})
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
return queryInterface.changeColumn('Notes', 'title', {
|
||||
type: Sequelize.STRING
|
||||
})
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue