Files
publisher-dashboard/packages/db-schema
igm 947c73dbdc Remove unnecessary exclude from tsconfig files
TypeScript excludes node_modules by default, and dist is handled
by outDir or include patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 15:02:55 +08:00
..
2026-01-12 13:59:34 +08:00

@reviq/db-schema

Database schema types generated from PostgreSQL using kysely-codegen.

Usage

import type { Database } from "@reviq/db-schema";

Regenerating Types

When the database schema changes, regenerate the types:

bun run --cwd packages/db-schema generate

This requires DATABASE_URL to be set and pointing to a database with the current schema.

Exports

  • Database - The full database type for use with Kysely
  • Table types for all database tables (e.g., Users, Orgs, Sessions)