ALTER TABLE "media" ADD COLUMN "type" varchar(45) DEFAULT 'image';--> statement-breakpoint
CREATE INDEX "media_type_index" ON "media" USING btree ("type");