From 5962c16536e39524a787aa901003f995d213ccc5 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Mon, 9 Dec 2024 13:22:33 +0000 Subject: [PATCH] linearlite-read-only sst config --- examples/linearlite-read-only/sst.config.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/linearlite-read-only/sst.config.ts b/examples/linearlite-read-only/sst.config.ts index c5d469112d..58a4c1052b 100644 --- a/examples/linearlite-read-only/sst.config.ts +++ b/examples/linearlite-read-only/sst.config.ts @@ -6,7 +6,7 @@ import { execSync } from 'child_process' export default $config({ app(input) { return { - name: `linearlite`, + name: `linearlite-read-only`, removal: input?.stage === `production` ? `retain` : `remove`, home: `aws`, providers: { @@ -25,12 +25,12 @@ export default $config({ branchId: project.defaultBranchId, } - const db = new neon.Database(`linearlite`, { + const db = new neon.Database(`linearlite-read-only`, { ...base, name: $app.stage === `Production` - ? `linearlite-production` - : `linearlite-${$app.stage}`, + ? `linearlite-read-only-production` + : `linearlite-read-only-${$app.stage}`, ownerName: `neondb_owner`, }) @@ -51,7 +51,7 @@ export default $config({ website: website.url, } } catch (e) { - console.error(`Failed to deploy linearlite stack`, e) + console.error(`Failed to deploy linearlite-read-only stack`, e) } }, })