Built motion from commit c56b56e.|0.0.125
[motion.git] / server / migrations / 20160506111910-report_square_details.js
1 'use strict';
2
3 module.exports = {
4   up: function(queryInterface, Sequelize) {
5     queryInterface.renameColumn('report_square_details', 'projectName', 'project_name');
6     queryInterface.renameColumn('report_square_details_history', 'projectName', 'project_name');
7   },
8
9   down: function(queryInterface, Sequelize) {
10     queryInterface.renameColumn('report_square_details', 'project_name', 'projectName');
11     queryInterface.renameColumn('report_square_details_history', 'project_name', 'projectName');
12   }
13 };