You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if there is recommended way of working with wrench when you are generating DB models using yo
WHY
I have a proyect where the db models are generated using yo. My idea is start using wrench for managing schema migrations. In this case, yo, is using schema.sql to generate models. If i start using migrations, what is the good way to generate models?
The text was updated successfully, but these errors were encountered:
If you're using schema.sql to generate models with yo, start by running wrench migrate up --directory ./[Migration Directory] locally to execute the migration. Next, run wrench load --directory ./[Migration Directory] to update the schema.sql file in the [Migration Directory]. After these steps, you can use the updated [Migration Directory]/schema.sql to generate the models with yo 🙂
WHAT
I would like to know if there is recommended way of working with wrench when you are generating DB models using yo
WHY
I have a proyect where the db models are generated using yo. My idea is start using wrench for managing schema migrations. In this case, yo, is using schema.sql to generate models. If i start using migrations, what is the good way to generate models?
The text was updated successfully, but these errors were encountered: