'use strict';
import { defineConfig } from 'drizzle-kit';
import { getRequiredStringEnvSetting } from '../../../../fd-toolbox/infra/env-functions.js';
import { generatedPaths } from '../../../../base-repo/app-constants/project-paths.js';
import { toolboxEnvSettingKeys } from '../../../../fd-toolbox/infra/toolbox-env-setting-keys.js';
import { postgresql } from '../../../../base-repo/app-constants/internal-system-constants.js';

const connectionString=getRequiredStringEnvSetting(toolboxEnvSettingKeys['databaseConnectionString']);const drizzleConfig=defineConfig({'dialect':postgresql,'schema':generatedPaths['schema'],'dbCredentials':{'url':connectionString}});

export { drizzleConfig };
