mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
do not add tag/place confirmation in migration as removeColumn in sqlite destroy foreign keys
This commit is contained in:
parent
a37db76037
commit
afc0af554a
4 changed files with 0 additions and 38 deletions
|
@ -1,13 +0,0 @@
|
|||
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')
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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')
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
module.exports = {
|
||||
up: (queryInterface, Sequelize) => {
|
||||
return queryInterface.removeColumn('tags', 'confirmed')
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
module.exports = {
|
||||
up: (queryInterface, Sequelize) => {
|
||||
return queryInterface.removeColumn('places', 'confirmed')
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue