I'm working on setting the default value of a column to 'Canada/Eastern' and making it not nullable. This is the current setup for the column:
queryRunner.addColumn('users', new TableColumn({
name: 'timezone_name',
type: 'character varying',
default: '"Canada/Eastern"',
isNullable: false,
}));
However, I encountered an error:
query failed: ALTER TABLE "users" ADD "timezone_name" character varying NOT NULL DEFAULT "Canada/Eastern"
error: error: column "Canada/Eastern" does not exist