Skip to content

Commit

Permalink
use stage in database name
Browse files Browse the repository at this point in the history
  • Loading branch information
balegas committed Nov 18, 2024
1 parent dea7bf7 commit 7911f80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/linearlite/sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export default $config({

const db = new neon.Database(`linearlite`, {
...base,
name:
$app.stage === `Production`
? `linearlite-production`
: `linearlite-${$app.stage}`,
ownerName: `neondb_owner`,
})

Expand Down

0 comments on commit 7911f80

Please sign in to comment.