critical
PG001 · Adds a NOT NULL column with no default
Postgres has no value for the rows that already exist, so the statement fails and the deploy fails with it.
critical PG001 3:19
Adds a NOT NULL column with no default
why Postgres has no value for the rows that already exist, so the statement fails and the deploy fails with it.
fix Give it a constant default in the same statement; since Postgres 11 that is metadata only.
exit 1