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 bc0f91f on branch develop.
[motion.git]
/
server
/
models
/
voice_context.js
1
/**
2
* Context Model
3
*/
4
5
module.exports = function(sequelize, DataTypes) {
6
7
var VoiceContext = sequelize.define('VoiceContext', {
8
name: {
9
type: DataTypes.STRING,
10
unique: true
11
},
12
description: {
13
type: DataTypes.STRING,
14
allowNull: true,
15
},
16
defaultEntry: {
17
type: DataTypes.BOOLEAN,
18
defaultValue: 0
19
}
20
}, {
21
tableName: 'voice_contexts'
22
});
23
24
return VoiceContext;
25
};