Re:It's not Ruby that's slow, it's your database
by hamandcheese on Wednesday November 09, 2022 @01:18PM
(#33535686)
> Wouldn't this be an issue with any database object managed via migrations?
Like I mentioned, check out flyway repeatable migrations.
In ActiveRecord, you have your migrations folder(s) and then you have your `structure.sql` (essentially the raw output of mysqldump or pgdump) or the equivalent.
If I need to see the literal database definition of any database object I look it up in there. Not the slickest solution but works well enough - really just a few keystrokes in my editor.
I'd be curious how other migration tools handle (or fail to handle) this.