How to seed the database? #192
-
Since upgrading typeorm to version 0.3, I'm looking for an alternative to seed the database. I saw in the README of the lib, which I can use for this purpose, but I didn't find an example of how to do it. Is it possible to do this with this lib? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hey @bralandealmeida, Greetings |
Beta Was this translation helpful? Give feedback.
-
Hey @bralandealmeida, Greetings |
Beta Was this translation helpful? Give feedback.
-
@tada5hi does the seeding functionality work for items like monodb? If so, is it possible to provide an example? I keep getting EntityMetadataNotFoundError when using mongodb but not when using postgresql |
Beta Was this translation helpful? Give feedback.
Hey @bralandealmeida,
the seeding functionality is very minimalistic at the moment and poor documented, but i will enhance it capabilities and documentation.
Greetings
Peter