Built motion from commit 1333b3551.|1.0.38
[motion.git] / server / migrations / 20160505122220-report_square_detail.js
1 'use strict';
2
3 module.exports = {
4   up: function(queryInterface, Sequelize) {
5     queryInterface.addColumn('report_square_details', 'projectName', Sequelize.STRING);
6     queryInterface.addColumn('report_square_details_history', 'projectName', Sequelize.STRING);
7   },
8
9   down: function(queryInterface, Sequelize) {
10     queryInterface.removeColumn('report_square_details', 'projectName');
11     queryInterface.removeColumn('report_square_details_history', 'projectName');
12   }
13 };