-- CreateEnum
CREATE TYPE "Voice" AS ENUM ('TypeCast', 'Papago');

-- CreateTable
CREATE TABLE "DiscordUserProfile" (
    "id" TEXT NOT NULL,
    "userId" TEXT NOT NULL,
    "voice" "Voice" NOT NULL DEFAULT 'Papago',
    "nya" BOOLEAN NOT NULL DEFAULT false,
    "canTypecast" BOOLEAN NOT NULL DEFAULT false,

    CONSTRAINT "DiscordUserProfile_pkey" PRIMARY KEY ("id")
);

-- CreateTable
CREATE TABLE "DiscordGuildProfile" (
    "id" TEXT NOT NULL,
    "guildId" TEXT NOT NULL,
    "readChannel" TEXT[] DEFAULT ARRAY[]::TEXT[],

    CONSTRAINT "DiscordGuildProfile_pkey" PRIMARY KEY ("id")
);

-- CreateIndex
CREATE UNIQUE INDEX "DiscordUserProfile_userId_key" ON "DiscordUserProfile"("userId");

-- CreateIndex
CREATE UNIQUE INDEX "DiscordGuildProfile_guildId_key" ON "DiscordGuildProfile"("guildId");
