Roo-Code/drizzle.config.ts
Canyon Robins f228542f27
Make Audit logs write to and read from the DB (not vaporware) (#19)
* Add database schema for audit logs

* update audit log code to read from the DB rather than mocks

* use UUID not text for id

* backend endpoint for writing audit logs

* add stubs for provider whitelist update

* wip on sending audit logs

* remove oldValue field

* remove references to oldValue

* more

* change toast

* move querying to the backend

* fix fetch

* base URL

* use a server-side function rather than endpoint for audit log creation

* remove old_value

* remove route for querying audit logs

* don't take over date parsing

* simplify, review feedback
2025-05-16 14:56:44 -07:00

10 lines
252 B
TypeScript

import { defineConfig } from 'drizzle-kit';
export default defineConfig({
out: './src/db/migrations',
schema: './src/db/schema.ts',
dialect: 'postgresql',
dbCredentials: { url: process.env.DATABASE_URL! },
verbose: true,
strict: true,
});