WIP basic card dropping
This commit is contained in:
13 files changed
+265
-58
No files matched your search
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('Cards', 'userId', {
|
||||
type: Sequelize.INTEGER,
|
||||
allowNull: true,
|
||||
defaultValue: null
|
||||
});
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('Cards', 'userId', {
|
||||
type: Sequelize.INTEGER,
|
||||
allowNull: false
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user