-- CreateTable
CREATE TABLE "Training" (
    "id" TEXT NOT NULL,
    "name" TEXT NOT NULL,
    "slug" TEXT NOT NULL,
    "days" INTEGER NOT NULL,
    "weight" INTEGER NOT NULL,
    "draft" BOOLEAN NOT NULL DEFAULT true,
    "logoURL" TEXT,
    "svgIconURL" TEXT,
    "repositoryURL" TEXT,
    "priceOpen" INTEGER NOT NULL,
    "priceCorporate" INTEGER NOT NULL,
    "content" TEXT,

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

-- CreateIndex
CREATE UNIQUE INDEX "Training_slug_key" ON "Training"("slug");

-- CreateIndex
CREATE INDEX "Training_slug_idx" ON "Training"("slug");
