Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pasta/src/database/custom-schema.ts>Tables

Create and manipulate type-safe SQL for PostgreSQL
Go to Latest
type alias Tables
import { type Tables } from "https://deno.land/x/pasta@0.0.2/src/database/custom-schema.ts";
definition: { account: { keys: { id: number; }; columns: { id?: number; name: string; deactivated_at?: string | TimestampFunctionCall; created_at?: string | TimestampFunctionCall; }; associations: { user: { email: string; }; } | { user_account: { user_id: number; }; }; }; settings: { keys: { key: string; }; columns: { key: string; value: string; created_at?: string | TimestampFunctionCall; }; associations: never; }; user: { keys: { id: number; } | { email: string; }; columns: { id?: number; email: string; created_at?: string | TimestampFunctionCall; tags?: JSONValue; }; associations: { account: { name: string; }; } | { user_account: { account_id: number; }; }; }; user_account: { keys: { id: number; } | { user_id: number; account_id: number; }; columns: { id?: number; user_id: number; account_id: number; created_at?: string | TimestampFunctionCall; }; associations: { account: { name: string; }; } | { user: { email: string; }; }; }; }