fix: change PushSubscription endpoint to VARCHAR for MySQL compatibility

MySQL cannot create unique constraints on TEXT fields without length.
Changed endpoint from @db.Text to @db.VarChar(512) to fix Prisma generation error.
This commit is contained in:
2025-12-07 01:50:28 +00:00
parent 374bfb3a62
commit 298ebc5fb9
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@@ -23,7 +23,7 @@ yarn-debug.log*
yarn-error.log*
# Local env files
.env
# .env
.env*.local
# Vercel