#Error in data-source.ts Migration

4 messages · Page 1 of 1 (latest)

wary musk
#

The system is not finding the DataSource inside typeorm for creating a Migration, I want to create a plugin with a new data table to save banners.

gritty dome
#

Which version of typeorm are you using?

#

The migration to typeorm 3 is in progress i have 1/2 day per week (when no priority are stepping over) to work on that. So data source does not exists yet

#

You can just create the migrations file under the migrations directory in your src and medusa will load it