Configure Payload with Postgres + push true

This commit is contained in:
Enguerrand Ozano
2026-02-28 18:33:30 +01:00
parent 26c916b940
commit 2895ae0cd3
2 changed files with 6 additions and 2 deletions

View File

@@ -16,8 +16,9 @@ export default buildConfig({
},
db: postgresAdapter({
pool: {
connectionString: process.env.DATABASE_URL,
connectionString: process.env.DATABASE_URL!,
},
push: true,
}),
collections: [Services, Realisations, Articles, Testimonials, FAQ, Media],
globals: [],