From 9ced895772ebecb2fa330ae2eecd42060abf2a7b Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Wed, 29 Nov 2023 18:15:14 +0000 Subject: WIP --- api/_postgres.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 api/_postgres.ts (limited to 'api/_postgres.ts') diff --git a/api/_postgres.ts b/api/_postgres.ts new file mode 100644 index 0000000..70b25c8 --- /dev/null +++ b/api/_postgres.ts @@ -0,0 +1,4 @@ +import env from './_env'; + +export const tablePrefix = env.ENVIRONMENT === 'prod' ? '' : 'dev_'; +export const tableSubscriptions = `${tablePrefix}subscriptions`; -- cgit v1.2.3