#How to get new entities in my postgreSQL database ??⚡

13 messages · Page 1 of 1 (latest)

final hornet
#

I have written entities in models folder and i want to see these tables in my postgreSQL Database . I get the existing one but not getting the entities which I have written explicitly

stone orchid
#

did you write the migrations?

final hornet
#

I want to generate it using typeorm

#

Have written the repositories for it

stone orchid
#

generate the table?

final hornet
#

getting this error while generating migration

stone orchid
#

are you sure you are using the right version of typeorm? which version are you using?

final hornet
#

0.3.10

stone orchid
#

yeah, I was pretty sure, medusa is not yet migrated to that version, you can downgrade to 0.2.45

final hornet
#

Okay

#

now getting this error

stone orchid
#

Did you provide a config file?

#

Generally with version 0.2 it does not work very well but you still can try