git://repos.xcallymotion.com
/
motion.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit 7afcba0.|0.0.74
[motion.git]
/
server
/
models
/
cm_contact.js
diff --git
a/server/models/contact.js
b/server/models/cm_contact.js
similarity index 96%
rename from
server/models/contact.js
rename to
server/models/cm_contact.js
index
673d139
..
eaf3cd9
100644
(file)
--- a/
server/models/contact.js
+++ b/
server/models/cm_contact.js
@@
-24,7
+24,7
@@
module.exports = function(sequelize, DataTypes) {
fax: DataTypes.STRING,
email: DataTypes.STRING,
}, {
- tableName: 'contacts',
+ tableName: 'cm_contacts',
associate: function(models) {
Contact.belongsTo(models.Company);
Contact.belongsTo(models.User);