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
afc0af55
Verified
Commit
afc0af55
authored
May 16, 2021
by
les
Browse files
do not add tag/place confirmation in migration as removeColumn in sqlite destroy foreign keys
parent
a37db760
Changes
4
Hide whitespace changes
Inline
Side-by-side
server/migrations/20200831143500-tag_confirmation.js
deleted
100644 → 0
View file @
a37db760
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
addColumn
(
'
tags
'
,
'
confirmed
'
,
{
type
:
Sequelize
.
BOOLEAN
,
defaultValue
:
true
,
allowNull
:
false
})
},
down
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
removeColumn
(
'
tags
'
,
'
confirmed
'
)
}
}
server/migrations/20200831144116-place_confirmation.js
deleted
100644 → 0
View file @
a37db760
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
addColumn
(
'
places
'
,
'
confirmed
'
,
{
type
:
Sequelize
.
BOOLEAN
,
defaultValue
:
true
,
allowNull
:
false
})
},
down
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
removeColumn
(
'
places
'
,
'
confirmed
'
)
}
}
server/migrations/20210409212349-remove_tag_confirmation.js
deleted
100644 → 0
View file @
a37db760
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
removeColumn
(
'
tags
'
,
'
confirmed
'
)
}
}
server/migrations/20210409212803-remove_place_confirmation.js
deleted
100644 → 0
View file @
a37db760
module
.
exports
=
{
up
:
(
queryInterface
,
Sequelize
)
=>
{
return
queryInterface
.
removeColumn
(
'
places
'
,
'
confirmed
'
)
}
}
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