chore: make "users"."avatar_url" NOT NULL (#11112)

This commit is contained in:
Kayla Washburn
2023-12-11 10:09:51 -07:00
committed by GitHub
parent 3e5d292135
commit 6775a86785
10 changed files with 55 additions and 48 deletions

View File

@ -746,7 +746,7 @@ CREATE TABLE users (
status user_status DEFAULT 'dormant'::user_status NOT NULL,
rbac_roles text[] DEFAULT '{}'::text[] NOT NULL,
login_type login_type DEFAULT 'password'::login_type NOT NULL,
avatar_url text,
avatar_url text DEFAULT ''::text NOT NULL,
deleted boolean DEFAULT false NOT NULL,
last_seen_at timestamp without time zone DEFAULT '0001-01-01 00:00:00'::timestamp without time zone NOT NULL,
quiet_hours_schedule text DEFAULT ''::text NOT NULL,