static_default can be thought of as a portable database that we check in to git. It rarely gets updated but some ActiveRecord objects live in there.
I’d like to disable it being affected when doing commands like bin/rails db:reset, bin/rails db:migrate, etc. Has anyone had ways to make this work without overwriting rake tasks in lib/?
I haven’t used this yet but your question made me curious and it looks like there’s a config flag now in at least 7+ to ignore a DB from the regular tasks.
I just wanted to say a big “thank you” for mentioning frozen_record. Earlier this year I spent ages searching around for something like this and drew a blank. frozen_record is exactly what I was looking for all along!