minor
This commit is contained in:
@@ -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: []
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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: []
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user