[chore] added prettier
This commit is contained in:
@@ -1,21 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
queryInterface.addColumn(
|
||||
'documents',
|
||||
'createdById',
|
||||
{
|
||||
type: 'UUID',
|
||||
allowNull: true,
|
||||
references: {
|
||||
model: 'users',
|
||||
},
|
||||
}
|
||||
);
|
||||
up: function(queryInterface, Sequelize) {
|
||||
queryInterface.addColumn('documents', 'createdById', {
|
||||
type: 'UUID',
|
||||
allowNull: true,
|
||||
references: {
|
||||
model: 'users',
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
down: function(queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('documents', 'createdById');
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user