XataX
Xata12mo ago
Oreki

Help with Drizzle

Hey team,

i would like to run introspect and pull commands from drizzle-kit, but i seem to be running into an error

the config:-
import { defineConfig } from 'drizzle-kit';

import { getXataClient } from './src';

export default defineConfig({
  dialect: 'postgresql',
  out: './drizzle',
  dbCredentials: {
    url: getXataClient().sql.connectionString,
  },
  verbose: true,
});


The error :-
error: unable to connect to the appropriate database


Additional Information :-

Driver: pg
Beta Direct Access Enabled: false
Was this page helpful?