This commit is contained in:
lesion
2019-08-03 01:02:05 +02:00
parent 202e59c1bc
commit b903a94af2
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
module.exports = { module.exports = {
up: (queryInterface, Sequelize) => { up: (queryInterface, Sequelize) => {
queryInterface.addColumn('event', 'likes', { return queryInterface.addColumn('event', 'likes', {
type: Sequelize.JSON, type: Sequelize.JSON,
defaultValue: [] defaultValue: []
}) })

View File

@@ -2,7 +2,7 @@
module.exports = { module.exports = {
up: (queryInterface, Sequelize) => { up: (queryInterface, Sequelize) => {
queryInterface.addColumn('event', 'boost', { return queryInterface.addColumn('event', 'boost', {
type: Sequelize.JSON, type: Sequelize.JSON,
defaultValue: [] defaultValue: []
}) })