Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
a3c81d8f
Commit
a3c81d8f
authored
Aug 03, 2019
by
les
Browse files
minor
parent
b903a94a
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/migrations/20190801105908-likes.js
View file @
a3c81d8f
...
...
@@ -2,7 +2,7 @@
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
addColumn
(
'
event
'
,
'
likes
'
,
{
return
queryInterface
.
addColumn
(
'
event
s
'
,
'
likes
'
,
{
type
:
Sequelize
.
JSON
,
defaultValue
:
[]
})
...
...
server/migrations/20190801110053-boost.js
View file @
a3c81d8f
...
...
@@ -2,7 +2,7 @@
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
addColumn
(
'
event
'
,
'
boost
'
,
{
return
queryInterface
.
addColumn
(
'
event
s
'
,
'
boost
'
,
{
type
:
Sequelize
.
JSON
,
defaultValue
:
[]
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment