mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
24 lines
513 B
TypeScript
24 lines
513 B
TypeScript
import NotImplementedException from "Common/Types/Exception/NotImplementedException";
|
|
|
|
export default class DataMigrationBase {
|
|
private _name: string = "";
|
|
public get name(): string {
|
|
return this._name;
|
|
}
|
|
public set name(v: string) {
|
|
this._name = v;
|
|
}
|
|
|
|
public constructor(name: string) {
|
|
this.name = name;
|
|
}
|
|
|
|
public async migrate(): Promise<void> {
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async rollback(): Promise<void> {
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|