mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +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();
|
|
}
|
|
}
|