Legwork for initial documents for atlases

This commit is contained in:
Jori Lallo
2016-07-26 00:05:10 -07:00
parent c88cc1f83b
commit e706e1c77c
6 changed files with 64 additions and 38 deletions

View 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');
}
};