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 95b01fa.|0.0.70
[motion.git]
/
server
/
models
/
square_odbc.js
1
'use strict';
2
3
module.exports = function(sequelize, DataTypes) {
4
5
var SquareOdbc = sequelize.define('SquareOdbc', {
6
name: {
7
type: DataTypes.STRING,
8
unique: true,
9
allowNull: false,
10
validate: {
11
notEmpty: true
12
},
13
},
14
dsn: {
15
type: DataTypes.STRING,
16
},
17
description: DataTypes.STRING
18
}, {
19
tableName: 'square_odbc'
20
});
21
22
return SquareOdbc;
23
24
};