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 645879c.|0.0.82
[motion.git]
/
server
/
models
/
dashboard.js
diff --git
a/server/models/dashboard.js
b/server/models/dashboard.js
index
b47660b
..
254f702
100644
(file)
--- a/
server/models/dashboard.js
+++ b/
server/models/dashboard.js
@@
-5,6
+5,7
@@
module.exports = function(sequelize, DataTypes) {
var Dashboard = sequelize.define('Dashboard', {
name: {
type: DataTypes.STRING,
+ unique: true
},
description: {
type: DataTypes.STRING,