mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
13 lines
277 B
TypeScript
13 lines
277 B
TypeScript
import type { QueryInterface, Transaction } from 'sequelize';
|
|
|
|
export interface MigrationContext {
|
|
queryInterface: QueryInterface;
|
|
transaction: Transaction;
|
|
}
|
|
|
|
export interface Migration {
|
|
id: string;
|
|
checksum: string;
|
|
up(context: MigrationContext): Promise<void>;
|
|
}
|