未验证 提交 278b6c3d authored 作者: Eric Cotter's avatar Eric Cotter 提交者: GitHub

Merge pull request #17 from xmlviking/issue_16

updating init_mongo.js support-scheduler index on name not slug
......@@ -114,8 +114,8 @@ db.createUser({ user: "scheduler",
});
db.createCollection("interval");
db.createCollection("intervalAction");
db.interval.createIndex({slug: 1}, {unique: true});
db.intervalAction.createIndex({slug: 1}, {unique: true});
db.interval.createIndex({name: 1}, {unique: true});
db.intervalAction.createIndex({name: 1}, {unique: true});
db=db.getSiblingDB('logging')
db.createUser({ user: "logging",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册