-
Multiple Postgres Schemas and Rails db:test:prepare
In our Rails databases, we use multiple Postgres schemas. This is partly for partitioning archive data from fresh data. On a new Rails 5 project, I started having tests fail once the models had the “archivable” concern added, which depended on an archive schema existing. Ultimately, the problem is that the archive schema wasn’t being […]