How to Fix PostgreSQL ‘cannot execute CREATE TABLE in a read-only transaction’ Error

The Incident