migratus icon indicating copy to clipboard operation
migratus copied to clipboard

How to baseline migrations

Open insano10 opened this issue 8 months ago • 6 comments

Can you please suggest a strategy for compressing a large timeline of migrations?

Given a large accumulation of migrations I would ideally like to create a single migration that contains all the combined schema changes so far and have that be the new latest applied patch in the schema table.

Is there any provision to do this through migratus commands, or would it involve manually updating the schema table data?

insano10 avatar Jun 20 '24 15:06 insano10