feat: Add postgres schema environment variable (#1047)
feat: Add postgres schema environment variable --------- Co-authored-by: Faruk AYDIN <omerfaruk26@gmail.com>
This commit is contained in:
@@ -11,6 +11,7 @@ type AppConfig = {
|
||||
appEnv: string;
|
||||
isDev: boolean;
|
||||
postgresDatabase: string;
|
||||
postgresSchema: string;
|
||||
postgresPort: number;
|
||||
postgresHost: string;
|
||||
postgresUsername: string;
|
||||
@@ -81,6 +82,7 @@ const appConfig: AppConfig = {
|
||||
isDev: appEnv === 'development',
|
||||
version: process.env.npm_package_version,
|
||||
postgresDatabase: process.env.POSTGRES_DATABASE || 'automatisch_development',
|
||||
postgresSchema: process.env.POSTGRES_SCHEMA || 'public',
|
||||
postgresPort: parseInt(process.env.POSTGRES_PORT || '5432'),
|
||||
postgresHost: process.env.POSTGRES_HOST || 'localhost',
|
||||
postgresUsername:
|
||||
|
Reference in New Issue
Block a user