第一次提交
This commit is contained in:
38
uni_modules/uni-pay/uniCloud/database/db_init.json
Normal file
38
uni_modules/uni-pay/uniCloud/database/db_init.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"uni-id-users": {},
|
||||
"uni-pay-orders": {
|
||||
"data": [],
|
||||
"index": [{
|
||||
"IndexName": "order_no",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "order_no", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "out_trade_no",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "out_trade_no", "Direction": "1" }], "MgoIsUnique": true }
|
||||
},
|
||||
{
|
||||
"IndexName": "transaction_id",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "transaction_id", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "create_date",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "create_date", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "pay_date",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "pay_date", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "total_fee",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "total_fee", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "user_id",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "user_id", "Direction": "1" }], "MgoIsUnique": false }
|
||||
},
|
||||
{
|
||||
"IndexName": "appid",
|
||||
"MgoKeySchema": { "MgoIndexKeys": [{ "Name": "appid", "Direction": "1" }], "MgoIsUnique": false }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user