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 0630df9.|0.0.136
[motion.git]
/
server
/
migrations
/
20160817101349-chat_messages.js
1
'use strict';
2
3
module.exports = {
4
up: function(queryInterface, Sequelize) {
5
queryInterface.changeColumn('chat_messages', 'body', {
6
type: Sequelize.BLOB,
7
notNull: true,
8
notEmpty: true
9
});
10
},
11
12
down: function(queryInterface, Sequelize) {
13
queryInterface.changeColumn('chat_messages', 'body', {
14
type: Sequelize.TEXT,
15
notNull: true,
16
notEmpty: true
17
});
18
}
19
};