diff --git a/examples/nextjs-example/sst.config.ts b/examples/nextjs-example/sst.config.ts index 847ee0c39c..a77237e859 100644 --- a/examples/nextjs-example/sst.config.ts +++ b/examples/nextjs-example/sst.config.ts @@ -25,8 +25,12 @@ export default $config({ branchId: project.defaultBranchId, } - const db = new neon.Database(`nextjs-example`, { + const db = new neon.Database(`nextjs`, { ...base, + name: + $app.stage === `Production` + ? `nextjs-production` + : `nextjs-${$app.stage}`, ownerName: `neondb_owner`, })