Built motion from commit c56b56e.|0.0.125
[motion.git] / server / migrations / 20160413115611-mail-rooms.js
1 'use strict';
2
3 module.exports = {
4   up: function(queryInterface, Sequelize) {
5     queryInterface.changeColumn(
6       'mail_rooms',
7       'status', {
8         type: Sequelize.ENUM('NEW', 'OPEN', 'CLOSED', 'UNMANAGED'),
9         defaultValue: 'NEW'
10       }
11     );
12   },
13
14   down: function(queryInterface, Sequelize) {
15     queryInterface.changeColumn(
16       'mail_rooms',
17       'status', {
18         type: Sequelize.ENUM('NEW', 'OPEN', 'CLOSED'),
19         defaultValue: 'NEW'
20       }
21     );
22   }
23 };