CREATE TABLE "avatars" ( "user_id" uuid PRIMARY KEY NOT NULL, "image" "bytea" NOT NULL, "content_type" text NOT NULL, "updated_at" timestamp with time zone DEFAULT now() NOT NULL ); --> statement-breakpoint ALTER TABLE "avatars" ADD CONSTRAINT "avatars_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint UPDATE "users" SET "display_name" = "username" WHERE "display_name" IS NULL OR "display_name" = '';