PG cannot execute UPDATE in a read-only transaction | How to add column if not exists on PostgreSQL

NoSuchKey