13 lines
308 B
JavaScript
13 lines
308 B
JavaScript
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn('atlases', 'creatorId', {
|
|
type: Sequelize.UUID,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.removeColumn('atlases', 'creatorId');
|
|
},
|
|
};
|