brackt/drizzle/0107_outgoing_mikhail_rasputin.sql

2 lines
192 B
MySQL
Raw Permalink Normal View History

ALTER TABLE "users" DROP CONSTRAINT "users_username_unique";--> statement-breakpoint
CREATE UNIQUE INDEX IF NOT EXISTS "users_username_lower_unique" ON "users" USING btree (lower("username"));