fix: Add missing migration
This commit is contained in:
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
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user