@adonisjs/lucid
Version:
SQL ORM built on top of Active Record pattern
7 lines (6 loc) • 431 B
TypeScript
import { type ConnectionConfig, type QueryClientContract } from '../../types/database.js';
import { type SchemaStateContract } from './base_schema_state.js';
/**
* Returns the dialect-specific schema state implementation for a connection.
*/
export declare function createSchemaState(client: QueryClientContract, connectionConfig: ConnectionConfig, schemaTableName: string, schemaVersionsTableName: string): SchemaStateContract;