refactor: remove training property description, add svgIconURL, drop old migration and create new
- since app was not deployed yet, i deleted the migration to keep them clean
This commit is contained in:
parent
f731dd6bcb
commit
be651d1b9f
5 changed files with 37 additions and 7 deletions
|
|
@ -1,23 +0,0 @@
|
|||
-- CreateTable
|
||||
CREATE TABLE "Training" (
|
||||
"id" TEXT NOT NULL,
|
||||
"name" TEXT NOT NULL,
|
||||
"slug" TEXT NOT NULL,
|
||||
"description" TEXT,
|
||||
"days" INTEGER NOT NULL,
|
||||
"weight" INTEGER NOT NULL,
|
||||
"draft" BOOLEAN NOT NULL DEFAULT true,
|
||||
"logoURL" 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");
|
||||
Reference in a new issue