git://repos.xcallymotion.com
/
motion.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Built motion from commit c56b56e.|0.0.125
[motion.git]
/
server
/
migrations
/
20160428182219-chat-messages.js
1
'use strict';
2
3
module.exports = {
4
up: function(queryInterface, Sequelize) {
5
queryInterface.addColumn(
6
'chat_messages',
7
'type', {
8
type: Sequelize.ENUM('internal', 'external', 'group'),
9
}
10
);
11
},
12
13
down: function(queryInterface, Sequelize) {
14
queryInterface.removeColumn('chat_messages', 'type');
15
}
16
};