#error while running generating migration
11 messages · Page 1 of 1 (latest)
i know this is a typeorm error but don't know how to set server configuration for entity
I am always afraid of dealing with migrations because it may change something to the database but I guess you have looked in this doc
https://typeorm.io/migrations#generating-migrations
@lament cypress have you any solution ?
I have tried all the solution available but can't able to resolve
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
@lament cypress where to write the connection configuration like for entities
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
still getting error
It looks like you are adding your entites but not the one from the core along them