node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
import type { Knex } from 'knex';
import type { Database } from '..';
import type { Schema, Table, SchemaDiff } from './types';
declare const _default: (db: Database) => {
/**
* Returns a knex schema builder instance
* @param {string} table - table name
*/
getSchemaBuilder(trx: Knex.Transaction): Knex.SchemaBuilder;
/**
* Creates schema in DB
*/
createSchema(schema: Schema): Promise<void>;
/**
* Creates a list of tables in a schema
* @param {KnexInstance} trx
* @param {Table[]} tables
*/
createTables(tables: Table[], trx: Knex.Transaction): Promise<void>;
/**
* Drops schema from DB
*/
dropSchema(schema: Schema, { dropDatabase }?: {
dropDatabase?: boolean | undefined;
}): Promise<void>;
/**
* Applies a schema diff update in the DB
* @param {*} schemaDiff
*/
updateSchema(schemaDiff: SchemaDiff['diff']): Promise<void>;
};
export default _default;
//# sourceMappingURL=builder.d.ts.map