Adds default_currency to store settings

This commit is contained in:
Sebastian Rindom
2020-06-30 22:06:01 +02:00
parent ea0c563bd6
commit 3e033bf646
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ class StoreModel extends BaseModel {
static modelName = "Store"
static schema = {
name: { type: String, required: true, default: "Medusa Store" },
default_currency: { type: String, required: true, default: "USD" },
currencies: { type: [String], default: [] },
metadata: { type: mongoose.Schema.Types.Mixed, default: {} },
}