swaf/dist/migrations/CreateMigrationsTable.d.ts
2020-04-22 17:49:58 +02:00

10 lines
263 B
TypeScript

import Migration from "../db/Migration";
/**
* Must be the first migration
*/
export default class CreateMigrationsTable extends Migration {
shouldRun(currentVersion: number): Promise<boolean>;
install(): Promise<void>;
rollback(): Promise<void>;
}