Built motion from commit ec3ecc5.|1.0.2
[motion.git] / server / models / cm_td_update.js
1 /**
2  * tdUpdate Model
3  */
4
5 module.exports = function(sequelize, DataTypes) {
6
7   var TdUpdate = sequelize.define('TdUpdate', {
8     action: {
9       type: DataTypes.STRING,
10     },
11     listId: {
12       type: DataTypes.INTEGER,
13       defaultValue: 0
14     },
15     contactId: {
16       type: DataTypes.INTEGER,
17       defaultValue: 0
18     }
19   }, {
20     tableName: 'cm_td_update'
21   });
22
23   return TdUpdate;
24 };