them (like which migration has been applied or not).
i guess i would have to use another tool beside gorm for this matter is it true or am i missing something ?
wdym by managing them?
keeping track of list of migrations , which one have been applied and which one has not this kind of stuff
I think it maintains that in a table on DB
if db has table, Mongo has collections
that's typically what ORMs do but gorms docs have no instructions about creating a new migration or rolling them back and what so ever it just says give your struct to automigrate and it will create a table for you
umm okay idk about gorm, I used github.com/golang-migrate/migrate
Обсуждают сегодня