UNPKG

lynx-framework

Version:

lynx is a NodeJS framework for Web Development, based on decorators and the async/await support.

17 lines (16 loc) 423 B
import BaseEntity from "./base.entity"; export declare enum Status { INIT = "init", EXECUTED = "executed", FAILED = "failed" } export default class MigrationEntity extends BaseEntity { id: number; name: string; status: Status; constructor(); setExecuted(): void; setFailed(): void; wasExecuted(): boolean; static findByName(name: string): Promise<MigrationEntity | undefined>; }