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_list.js
diff --git
a/server/models/list.js
b/server/models/cm_list.js
similarity index 97%
rename from
server/models/list.js
rename to
server/models/cm_list.js
index
0dbc8b4
..
ced8d79
100644
(file)
--- a/
server/models/list.js
+++ b/
server/models/cm_list.js
@@
-15,7
+15,7
@@
module.exports = function(sequelize, DataTypes) {
defaultValue: false
}
}, {
- tableName: 'lists',
+ tableName: 'cm_lists',
associate: function(models) {
List.belongsToMany(models.User, {
through: models.UserHasList,