ProjectDataMigrations: the mechanism ProjectDataMigrationsRepo implements.
API
@Interface()
export abstract class ProjectDataMigrations {
abstract get(name: string, projectId: string): ProjectDataMigrationRow | null;
abstract begin(name: string, projectId: string, at: string): void;
abstract finish(name: string, projectId: string, at: string): void;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (3)
get
get(name: string, projectId: string): ProjectDataMigrationRow | nullHow far name got in projectId; null when it never began there.
@paramname
string@paramprojectId
string@returns
ProjectDataMigrationRow | nullbegin
begin(name: string, projectId: string, at: string): voidRecords that name began in projectId; a row already there keeps its time.
@paramname
string@paramprojectId
string@paramat
string@returns
voidfinish
finish(name: string, projectId: string, at: string): voidRecords that name is done in projectId, beginning it first where it never began.
@paramname
string@paramprojectId
string@paramat
string@returns
void