DROP INDEX "media_path_index";--> statement-breakpoint
ALTER TABLE "media" ADD COLUMN "scope" varchar DEFAULT 'post' NOT NULL;--> statement-breakpoint
CREATE INDEX "media_scope_index" ON "media" USING btree ("scope");--> statement-breakpoint
ALTER TABLE "media" DROP COLUMN "width";--> statement-breakpoint
ALTER TABLE "media" DROP COLUMN "height";