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

Commit

Permalink
Merge pull request #4 from irisnet/develop
Browse files Browse the repository at this point in the history
R4R: Update mongodb.js
  • Loading branch information
kaifei Hu authored Aug 14, 2019
2 parents e14b867 + 14759af commit 4c7709a
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 4c7709a

Please sign in to comment.