Use clearer urls fro documents

This commit is contained in:
Jori Lallo
2016-08-15 21:41:51 +02:00
parent 537341c01c
commit 3089ac7bc8
14 changed files with 88 additions and 56 deletions

View File

@@ -0,0 +1,18 @@
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn(
'atlases',
'urlId',
{
type: Sequelize.STRING,
unique: true,
}
);
},
down: function (queryInterface, Sequelize) {
queryInterface.removeColumn('atlases', 'urlId');
}
};