|
'use strict'
|
|
module.exports = {
|
|
up: function (queryInterface, Sequelize) {
|
|
return queryInterface.addColumn('Notes', 'alias', {
|
|
type: Sequelize.STRING,
|
|
unique: true
|
|
})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
return queryInterface.removeColumn('Notes', 'alias')
|
|
}
|
|
}
|