Compare commits
No commits in common. '7f54a7f12a338af993e11740bde453ef3b08cb60' and '5056d0bcaab91ee181d65c05f7741ecca28a1f9c' have entirely different histories.
7f54a7f12a
...
5056d0bcaa
8 changed files with 44 additions and 131 deletions
@ -1,21 +0,0 @@ |
||||
'use strict'; |
||||
|
||||
module.exports = { |
||||
up: (queryInterface, Sequelize) => { |
||||
return Promise.all([ |
||||
queryInterface.addColumn('Users', 'healthCenter', { |
||||
type: Sequelize.STRING, |
||||
allowNull: true, |
||||
}), |
||||
queryInterface.addColumn('Users', 'healthCenterCity', { |
||||
type: Sequelize.STRING, |
||||
allowNull: true, |
||||
}), |
||||
]); |
||||
}, |
||||
|
||||
down: (queryInterface) => { |
||||
return Promise.all([queryInterface.removeColumn('Users', 'healthCenter'), |
||||
queryInterface.removeColumn('Users', 'healthCenterCity')]); |
||||
}, |
||||
}; |
@ -1,15 +0,0 @@ |
||||
'use strict'; |
||||
|
||||
module.exports = { |
||||
up: (queryInterface, Sequelize) => { |
||||
return Promise.all([ |
||||
queryInterface.changeColumn('Users', 'codeMelli', { |
||||
type: Sequelize.STRING, |
||||
}), |
||||
]); |
||||
}, |
||||
|
||||
down: (queryInterface) => { |
||||
return Promise.all([queryInterface.changeColumn('Users', 'codeMelli')]); |
||||
}, |
||||
}; |
Binary file not shown.
Loading…
Reference in new issue