Skip to content

Commit

Permalink
fix: rollback schema
Browse files Browse the repository at this point in the history
  • Loading branch information
amber committed Nov 10, 2024
1 parent c253174 commit 2c8265d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions services/item/database/production/init.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* eslint-disable no-undef */
db = db.getSiblingDB('nshm_item');

db.createCollection("items");

db.items.createIndex({ name: "text", description: "text" });
1 change: 0 additions & 1 deletion services/wishlist/database/production/1-schema.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
db = db.getSiblingDB('nshm_wishlist');
// Create 'wishlist' collection (if it doesn't exist yet)
db.createCollection("wishlist");

Expand Down

0 comments on commit 2c8265d

Please sign in to comment.