Titles with a cool effect
This commit is contained in:
16
api/db/migrations/20241005014130_/migration.sql
Normal file
16
api/db/migrations/20241005014130_/migration.sql
Normal 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")
|
||||
);
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user