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
Motivation:
If you usually model entities and then update migration file, it's a lot of work to manually check if any field of any entity has been omitted in any migration.
The Sea-orm CLI can generate entities from the migration file, but it cannot generate the migration file from the modeled entities.
The Sea-orm Migration Simple Checker also does not generate the migration file from the modeled entities; it only checks if, in the set of migration files, all the entity fields have been used and applied.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Motivation:
If you usually model entities and then update migration file, it's a lot of work to manually check if any field of any entity has been omitted in any migration.
The Sea-orm CLI can generate entities from the migration file, but it cannot generate the migration file from the modeled entities.
The Sea-orm Migration Simple Checker also does not generate the migration file from the modeled entities; it only checks if, in the set of migration files, all the entity fields have been used and applied.
Repository: https://github.com/addller/seaorm_simple_migration_checker.git
It works on my machine. XD
Beta Was this translation helpful? Give feedback.
All reactions