Titles with a cool effect

This commit is contained in:
Ahmed Al-Taiar
2024-10-04 23:13:44 -04:00
parent 8671f47e91
commit e5f9bbd462
19 changed files with 367 additions and 91 deletions

View File

@ -0,0 +1,16 @@
/*
Warnings:
- You are about to drop the `Title` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropTable
DROP TABLE "Title";
-- CreateTable
CREATE TABLE "Titles" (
"id" SERIAL NOT NULL,
"titles" TEXT[] DEFAULT ARRAY[]::TEXT[],
CONSTRAINT "Titles_pkey" PRIMARY KEY ("id")
);

View File

@ -63,9 +63,9 @@ model Resume {
fileId String
}
model Title {
id Int @id @default(autoincrement())
title String
model Titles {
id Int @id @default(autoincrement())
titles String[] @default([])
}
model Tag {