Burn: Added card burning for notes and gems
This commit is contained in:
26
migrations/20220926133658-add-burned-to-cards.js
Normal file
26
migrations/20220926133658-add-burned-to-cards.js
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add altering commands here.
|
||||
*
|
||||
* Example:
|
||||
* await queryInterface.createTable('users', { id: Sequelize.INTEGER });
|
||||
*/
|
||||
await queryInterface.addColumn('Cards', 'burned', {
|
||||
type: Sequelize.BOOLEAN,
|
||||
defaultValue: false
|
||||
});
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
/**
|
||||
* Add reverting commands here.
|
||||
*
|
||||
* Example:
|
||||
* await queryInterface.dropTable('users');
|
||||
*/
|
||||
await queryInterface.removeColumn('Cards', 'burned');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user