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_company.js
diff --git
a/server/models/company.js
b/server/models/cm_company.js
similarity index 94%
rename from
server/models/company.js
rename to
server/models/cm_company.js
index
12768bd
..
eb9a400
100644
(file)
--- a/
server/models/company.js
+++ b/
server/models/cm_company.js
@@
-18,7
+18,7
@@
module.exports = function(sequelize, DataTypes) {
sCity: DataTypes.STRING,
sCountry: DataTypes.STRING,
}, {
- tableName: 'companies',
+ tableName: 'cm_companies',
associate: function(models) {
Company.hasMany(models.Contact, {
as: 'Contacts'