发布项目的时候,要创建一个collection config, mongo 报错说 config是系统保留database name,
不能以config 命名。
方案:
entity上指定collection name:
@Document
(collection
=
"adCenterDeduction"
)
发布项目的时候,要创建一个collection config, mongo 报错说 config是系统保留database name,
不能以config 命名。
方案:
entity上指定collection name:
@Document
(collection
=
"adCenterDeduction"
)