#Migration error when try to extend Store entity

2 messages · Page 1 of 1 (latest)

clear portal
#

TypeORMError: Entity metadata for Store#default_currency was not found.

how to fix it. i see inside the Store models, it seems fine

clear portal
#

fixed

"entities": [
"node_modules/@medusajs/medusa/dist/models/!(.index.js)",
"dist/entities/
.js"
],
"migrations": [
"node_modules/@medusajs/medusa/dist/migrations/.js",
"dist/migrations/
.js"
]

added this in datasource.js