Introduce prettier
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/** @type {import('sequelize-cli').Migration} */
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
async up(queryInterface, Sequelize) {
|
||||
await queryInterface.createTable('attachments', {
|
||||
id: {
|
||||
type: Sequelize.INTEGER,
|
||||
@@ -23,16 +23,16 @@ module.exports = {
|
||||
},
|
||||
createdAt: {
|
||||
allowNull: false,
|
||||
type: Sequelize.DATE
|
||||
type: Sequelize.DATE,
|
||||
},
|
||||
updatedAt: {
|
||||
allowNull: false,
|
||||
type: Sequelize.DATE
|
||||
}
|
||||
type: Sequelize.DATE,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
async down(queryInterface, Sequelize) {
|
||||
await queryInterface.dropTable('attachments');
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user