Built motion from commit 1038d87.|0.0.141
[motion.git] / server / models / fax_account.js
index 5e578fa..0c47fad 100644 (file)
@@ -1,8 +1,4 @@
-/**
- * Chat Website Model
- */
-
-var crypto = require('crypto');
+'use strict';
 
 module.exports = function(sequelize, DataTypes) {
 
@@ -91,7 +87,13 @@ module.exports = function(sequelize, DataTypes) {
                        set: function(val) {
                                return this.setDataValue('actions', JSON.stringify(val));
                        }
-               }
+               },
+               closeUrl: {
+                       type: DataTypes.STRING
+               },
+               closeMethod: {
+                       type: DataTypes.ENUM('GET', 'POST')
+               },
        }, {
                tableName: 'fax_accounts',
                associate: function(models) {
@@ -122,7 +124,6 @@ module.exports = function(sequelize, DataTypes) {
                                        }]
                                }]
                        });
-
                }
        });