mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +00:00
13 lines
471 B
MySQL
13 lines
471 B
MySQL
|
/*
|
||
|
Warnings:
|
||
|
|
||
|
- A unique constraint covering the columns `[username]` on the table `account` will be added. If there are existing duplicate values, this will fail.
|
||
|
- Added the required column `username` to the `account` table without a default value. This is not possible if the table is not empty.
|
||
|
|
||
|
*/
|
||
|
-- AlterTable
|
||
|
ALTER TABLE "account" ADD COLUMN "username" TEXT NOT NULL;
|
||
|
|
||
|
-- CreateIndex
|
||
|
CREATE UNIQUE INDEX "account_username_key" ON "account"("username");
|