#error while running generating migration

11 messages · Page 1 of 1 (latest)

raw wigeon
#

I want to generate migration but having error .

#

i know this is a typeorm error but don't know how to set server configuration for entity

glacial junco
raw wigeon
#

@lament cypress have you any solution ?

#

I have tried all the solution available but can't able to resolve

lament cypress
#

There is an open issue and it seams that it is link to version < 0.3 of typeorm.

#

So will have to wait until the migration happen and see if that helps

raw wigeon
#

@lament cypress where to write the connection configuration like for entities

lament cypress
#

I suggest you to look at the issue and typeorm doc, there is multiple way of doing it. Through a config file or the env for example

raw wigeon
#

still getting error

lament cypress
#

It looks like you are adding your entites but not the one from the core along them