
We got a weird error today when running the latest migration on a production Postgres DB.
cannot update table "schema_info" because it does not have a replica identity and publishes updates
The table schema_info
is created when we run ruby Sequel migrations. This table stores just the version number of the latest migration
applied under a column called version
.
We had set up a replica database some time ago and it looked like the issue was because of this.
Continue reading