Home / Type/ JsonCreateTableStatement Type — drizzle-orm Architecture

JsonCreateTableStatement Type — drizzle-orm Architecture

Architecture documentation for the JsonCreateTableStatement type/interface in jsonStatements.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  7ecfcf36_1392_67a2_ab4e_1b87e5469b7e["JsonCreateTableStatement"]
  6139f734_8ada_c641_9fec_9a55cfdf376f["jsonStatements.ts"]
  7ecfcf36_1392_67a2_ab4e_1b87e5469b7e -->|defined in| 6139f734_8ada_c641_9fec_9a55cfdf376f
  style 7ecfcf36_1392_67a2_ab4e_1b87e5469b7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/jsonStatements.ts lines 45–57

export interface JsonCreateTableStatement {
	type: 'create_table';
	tableName: string;
	schema: string;
	columns: Column[];
	compositePKs: string[];
	compositePkName?: string;
	uniqueConstraints?: string[];
	policies?: string[];
	checkConstraints?: string[];
	internals?: MySqlKitInternals | SingleStoreKitInternals;
	isRLSEnabled?: boolean;
}

Frequently Asked Questions

What is the JsonCreateTableStatement type?
JsonCreateTableStatement is a type/interface in the drizzle-orm codebase, defined in drizzle-kit/src/jsonStatements.ts.
Where is JsonCreateTableStatement defined?
JsonCreateTableStatement is defined in drizzle-kit/src/jsonStatements.ts at line 45.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free