improvement(db): remove vercel, remove railway, remove crons, improve DB connection config (#1519)

* improvement(db): remove vercel, remove railway, remove crons, improve DB connection config

* remove NEXT_PUBLIC_VERCEL_URL

* remove db url fallbacks

* remove railway & more vercel stuff

---------

Co-authored-by: waleed <waleed>
This commit is contained in:
Waleed
2025-10-01 16:37:13 -07:00
committed by GitHub
parent 896f7bb0a0
commit 6e63eafb79
18 changed files with 11 additions and 118 deletions

View File

@@ -134,9 +134,9 @@ const logger = {
}
// Get database URL from environment
const CONNECTION_STRING = process.env.POSTGRES_URL ?? process.env.DATABASE_URL
const CONNECTION_STRING = process.env.DATABASE_URL
if (!CONNECTION_STRING) {
console.error('❌ POSTGRES_URL or DATABASE_URL environment variable is required')
console.error('❌ DATABASE_URL environment variable is required')
process.exit(1)
}