feat: 增加 MongoDB 自动建库相关文件
This commit is contained in:
parent
c45d0b0198
commit
36f9e1cd70
|
@ -33,6 +33,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MongoDB", "MongoDB", "{A06A
|
|||
db\MongoDB\Dicts.js = db\MongoDB\Dicts.js
|
||||
db\MongoDB\Groups.js = db\MongoDB\Groups.js
|
||||
db\MongoDB\init.js = db\MongoDB\init.js
|
||||
db\MongoDB\install.cmd = db\MongoDB\install.cmd
|
||||
db\MongoDB\install.sh = db\MongoDB\install.sh
|
||||
db\MongoDB\Navigations.js = db\MongoDB\Navigations.js
|
||||
db\MongoDB\Roles.js = db\MongoDB\Roles.js
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# init mongodb data
|
||||
@echo off
|
||||
|
||||
mongo ./init.js
|
||||
mongo BootstrapAdmin --eval "printjson(db.getCollectionNames())"
|
|
@ -11,7 +11,7 @@
|
|||
/// </summary>
|
||||
public override void CheckDB(string folder)
|
||||
{
|
||||
|
||||
// 没有环境暂时未写代码
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue