mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-29 20:12:28 +03:00
10 lines
198 B
SQL
10 lines
198 B
SQL
-- DropIndex
|
|
DROP INDEX "User.email_unique";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "User"
|
|
RENAME COLUMN "email" TO "username";
|
|
|
|
-- CreateIndex
|
|
CREATE UNIQUE INDEX "User.username_unique" ON "User"("username");
|