Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Update mongodb.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kaifei Hu authored Aug 14, 2019
1 parent 0c57026 commit 14759af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script/mongodb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// create table
db.createCollection("sync_iris_asset_detail");
db.sync_block.renameCollection("sync_iris_block");
db.sync_task.renameCollection("sync_iris_task");
db.createCollection("sync_iris_block");
db.createCollection("sync_iris_task");
db.createCollection("sync_iris_tx");
db.createCollection("sync_cosmos_tx");
db.createCollection("sync_cosmos_block");
Expand Down Expand Up @@ -34,4 +34,4 @@ db.sync_iris_tx.createIndex({"type": 1}, {"background": true});
*/
// db.sync_iris_asset_detail.deleteMany({});
// db.sync_block.deleteMany({});
// db.sync_task.deleteMany({});
// db.sync_task.deleteMany({});

0 comments on commit 14759af

Please sign in to comment.