diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-11-29 18:15:14 +0000 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-11-29 18:15:14 +0000 |
| commit | 9ced895772ebecb2fa330ae2eecd42060abf2a7b (patch) | |
| tree | b08b6a08fd39a11eaef2a2e2b92a661ad00247b0 /api/_postgres.ts | |
| parent | 960b019a018c2faf8da1c4a4ade6c12b3c21e5bd (diff) | |
Diffstat (limited to 'api/_postgres.ts')
| -rw-r--r-- | api/_postgres.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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`; |
