Review funkt
This commit is contained in:
24
node_modules/bullmq/dist/esm/postgres/migrations/index.d.ts
generated
vendored
Normal file
24
node_modules/bullmq/dist/esm/postgres/migrations/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* A single, ordered schema migration. The `.sql` file is the source of truth;
|
||||
* `version` is the monotonically increasing schema version recorded in the
|
||||
* `migration` ledger table once applied.
|
||||
*/
|
||||
export interface Migration {
|
||||
/** Monotonically increasing schema version (1, 2, 3, …). */
|
||||
version: number;
|
||||
/** Human-readable name (matches the `.sql` filename without extension). */
|
||||
name: string;
|
||||
/** Loads this migration's SQL from its `.sql` file. */
|
||||
load(): string;
|
||||
}
|
||||
/**
|
||||
* The ordered list of migrations bundled with this version of BullMQ. Append a
|
||||
* new entry (never edit or reorder existing ones) whenever the schema changes.
|
||||
*/
|
||||
export declare const MIGRATIONS: readonly Migration[];
|
||||
/**
|
||||
* The highest schema version this BullMQ build knows how to produce. Compared
|
||||
* against the version recorded in the database to decide whether to migrate
|
||||
* (database older), no-op (equal), or refuse to run (database newer).
|
||||
*/
|
||||
export declare const LATEST_SCHEMA_VERSION: number;
|
||||
Reference in New Issue
Block a user