mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-02-20 18:20:07 -05:00
3 lines
248 B
SQL
3 lines
248 B
SQL
ALTER TABLE "kyoo"."shows" DROP CONSTRAINT "shows_slug_unique";--> statement-breakpoint
|
|
CREATE INDEX "slug" ON "kyoo"."shows" USING btree ("slug");--> statement-breakpoint
|
|
ALTER TABLE "kyoo"."shows" ADD CONSTRAINT "kind_slug" UNIQUE("kind","slug"); |