15 lines
704 B
SQL
15 lines
704 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Added the required column `global_name` to the `discord_accounts` table without a default value. This is not possible if the table is not empty.
|
|
- Added the required column `username` to the `discord_accounts` table without a default value. This is not possible if the table is not empty.
|
|
- Made the column `email` on table `discord_accounts` required. This step will fail if there are existing NULL values in that column.
|
|
|
|
*/
|
|
-- AlterTable
|
|
ALTER TABLE "discord_accounts" ADD COLUMN "avatar" TEXT,
|
|
ADD COLUMN "global_name" TEXT NOT NULL,
|
|
ADD COLUMN "username" TEXT NOT NULL,
|
|
ADD COLUMN "verified" BOOLEAN NOT NULL DEFAULT false,
|
|
ALTER COLUMN "email" SET NOT NULL;
|