Skip to content

Commit

Permalink
expose schema
Browse files Browse the repository at this point in the history
  • Loading branch information
andykais committed Jul 9, 2024
1 parent 9d50da2 commit a24e59d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

import * as sqlite3 from 'jsr:@db/sqlite@0.11'
import type { OptionalOnEmpty } from '../src/util.ts'
import { Vars, type SchemaGeneric } from '../src/schema.ts'
import { Vars, schema, type SchemaGeneric } from '../src/schema.ts'
import { ModelBase, WithStaticSchema } from '../src/model.ts'
import { StatementBase, type RawRowData } from '../src/statement.ts'
import { TormBase, type SchemasModel, type InitOptions } from '../src/torm.ts'
Expand Down Expand Up @@ -253,5 +253,6 @@ type Database = sqlite3.Database
export type { Database as Driver }
export { field }
export { Vars }
export { schema }
export { MigrationError, MigrationValidationError } from '../src/migration.ts'
export type { SchemaGeneric as Fields }

0 comments on commit a24e59d

Please sign in to comment.