记得上下班打卡 | git大法好,push需谨慎

Commit 57a8b14a authored by 张国柄's avatar 张国柄

~mongo:vo.init;

parent 2ff640f9
...@@ -29,6 +29,7 @@ db.createCollection("GoblinSelfMarketingVo"); ...@@ -29,6 +29,7 @@ db.createCollection("GoblinSelfMarketingVo");
db.createCollection("GoblinStoreOrderVo"); db.createCollection("GoblinStoreOrderVo");
db.createCollection("GoblinNftOrderVo"); db.createCollection("GoblinNftOrderVo");
db.createCollection("GoblinNftOrderRefundVo"); db.createCollection("GoblinNftOrderRefundVo");
db.createCollection("GoblinUserDigitalArtworkVo");
// ================================================== 创建索引 // ================================================== 创建索引
...@@ -82,6 +83,7 @@ db.GoblinNftOrderRefundVo.createIndex({refundCode:"hashed"}); ...@@ -82,6 +83,7 @@ db.GoblinNftOrderRefundVo.createIndex({refundCode:"hashed"});
db.GoblinNftOrderRefundVo.createIndex({orderId:"hashed"}); db.GoblinNftOrderRefundVo.createIndex({orderId:"hashed"});
db.GoblinNftOrderRefundVo.createIndex({orderCode:"hashed"}); db.GoblinNftOrderRefundVo.createIndex({orderCode:"hashed"});
db.GoblinNftOrderRefundVo.createIndex({userId:"hashed"}); db.GoblinNftOrderRefundVo.createIndex({userId:"hashed"});
db.GoblinUserDigitalArtworkVo.createIndex({artworkId:"hashed"});
...@@ -116,3 +118,4 @@ sh.shardCollection("test_ln_scene.GoblinStoreOrderVo",{"orderId":"hashed"}); ...@@ -116,3 +118,4 @@ sh.shardCollection("test_ln_scene.GoblinStoreOrderVo",{"orderId":"hashed"});
sh.shardCollection("test_ln_scene.GoblinSelfMarketingVo",{"selfMarketId":"hashed"}); sh.shardCollection("test_ln_scene.GoblinSelfMarketingVo",{"selfMarketId":"hashed"});
sh.shardCollection("test_ln_scene.GoblinNftOrderVo",{"orderId":"hashed"}); sh.shardCollection("test_ln_scene.GoblinNftOrderVo",{"orderId":"hashed"});
sh.shardCollection("test_ln_scene.GoblinNftOrderRefundVo",{"orderRefundId":"hashed"}); sh.shardCollection("test_ln_scene.GoblinNftOrderRefundVo",{"orderRefundId":"hashed"});
sh.shardCollection("test_ln_scene.GoblinUserDigitalArtworkVo",{"artworkId":"hashed"});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment