Legwork for initial documents for atlases
This commit is contained in:
18
server/migrations/20160726061511-atlas-creator.js
Normal file
18
server/migrations/20160726061511-atlas-creator.js
Normal file
@@ -0,0 +1,18 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
queryInterface.addColumn(
|
||||
'atlases',
|
||||
'creatorId',
|
||||
{
|
||||
type: Sequelize.UUID,
|
||||
allowNull: true,
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('documents', 'creatorId');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user