2024-06-14 11:09:53 +00:00
|
|
|
import NotImplementedException from "Common/Types/Exception/NotImplementedException";
|
2024-01-11 10:49:55 +00:00
|
|
|
|
|
|
|
export default class DataMigrationBase {
|
2024-06-14 11:09:53 +00:00
|
|
|
private _name: string = "";
|
|
|
|
public get name(): string {
|
|
|
|
return this._name;
|
|
|
|
}
|
|
|
|
public set name(v: string) {
|
|
|
|
this._name = v;
|
|
|
|
}
|
2024-01-11 10:49:55 +00:00
|
|
|
|
2024-06-14 11:09:53 +00:00
|
|
|
public constructor(name: string) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
2024-01-11 10:49:55 +00:00
|
|
|
|
2024-06-14 11:09:53 +00:00
|
|
|
public async migrate(): Promise<void> {
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
2024-01-11 10:49:55 +00:00
|
|
|
|
2024-06-14 11:09:53 +00:00
|
|
|
public async rollback(): Promise<void> {
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
2024-01-11 10:49:55 +00:00
|
|
|
}
|