Little rework
Build Check / build (push) Failing after 18s
Build Check / deploy-coolify (push) Has been skipped
Build Check / push-image (push) Has been skipped

This commit is contained in:
Space-Banane
2026-07-16 23:03:42 +02:00
parent 2045e95929
commit dfbe14d284
62 changed files with 2760 additions and 2380 deletions
@@ -0,0 +1,61 @@
-- CreateEnum
CREATE TYPE "ProjectSize" AS ENUM ('Big', 'MediumSized', 'Small');
-- CreateTable
CREATE TABLE "Project" (
"id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"label" TEXT NOT NULL,
"size" "ProjectSize" NOT NULL DEFAULT 'MediumSized',
"imageUrl" TEXT,
"link" TEXT NOT NULL,
"linkIsDemo" BOOLEAN NOT NULL DEFAULT false,
"sourceCode" TEXT,
"description" TEXT NOT NULL,
"why" TEXT NOT NULL,
"note" TEXT,
"tags" TEXT[],
"loc" INTEGER,
"locEndpoint" TEXT,
"featured" BOOLEAN NOT NULL DEFAULT false,
"sortIndex" INTEGER NOT NULL DEFAULT 0,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Project_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "WorkExperience" (
"id" TEXT NOT NULL,
"company" TEXT NOT NULL,
"role" TEXT NOT NULL,
"fromDate" TIMESTAMP(3) NOT NULL,
"toDate" TIMESTAMP(3),
"url" TEXT,
"iconUrl" TEXT,
"summary" TEXT NOT NULL,
"tags" TEXT[],
"sortIndex" INTEGER NOT NULL DEFAULT 0,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "WorkExperience_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "Affiliate" (
"id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"link" TEXT NOT NULL,
"icon" TEXT NOT NULL,
"location" TEXT NOT NULL,
"provides" TEXT[],
"good" TEXT[],
"bad" TEXT[],
"sortIndex" INTEGER NOT NULL DEFAULT 0,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "Affiliate_pkey" PRIMARY KEY ("id")
);
@@ -0,0 +1,10 @@
/*
Warnings:
- You are about to drop the column `featured` on the `Project` table. All the data in the column will be lost.
- You are about to drop the column `sortIndex` on the `Project` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Project" DROP COLUMN "featured",
DROP COLUMN "sortIndex";
+3
View File
@@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (e.g., Git)
provider = "postgresql"