protecting routes for auth

This commit is contained in:
2026-05-08 15:16:04 +02:00
parent 965aa80fe0
commit 7c9e9c5001
15 changed files with 273 additions and 58 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Oferta" ALTER COLUMN "url" SET DEFAULT '';

View File

@@ -45,7 +45,7 @@ model Oferta {
salario String @default("0")
contrato String
descripcion String
url String
url String @default("")
authorId Int
author User @relation(fields: [authorId], references: [id])