diff --git a/services/item/database/production/init.js b/services/item/database/production/init.js index 9abe5f69..7b1cf91c 100644 --- a/services/item/database/production/init.js +++ b/services/item/database/production/init.js @@ -1,6 +1,4 @@ /* eslint-disable no-undef */ -db = db.getSiblingDB('nshm_item'); - db.createCollection("items"); db.items.createIndex({ name: "text", description: "text" }); diff --git a/services/wishlist/database/production/1-schema.js b/services/wishlist/database/production/1-schema.js index 9e2cc430..026f5248 100644 --- a/services/wishlist/database/production/1-schema.js +++ b/services/wishlist/database/production/1-schema.js @@ -1,4 +1,3 @@ -db = db.getSiblingDB('nshm_wishlist'); // Create 'wishlist' collection (if it doesn't exist yet) db.createCollection("wishlist");