14 lines
404 B
TypeScript
14 lines
404 B
TypeScript
import { Migration } from '@mikro-orm/migrations';
|
|
|
|
export class Migration20260405072136 extends Migration {
|
|
|
|
override async up(): Promise<void> {
|
|
this.addSql(`alter table "company" rename column "rent_contract_images" to "contract_images";`);
|
|
}
|
|
|
|
override async down(): Promise<void> {
|
|
this.addSql(`alter table "company" rename column "contract_images" to "rent_contract_images";`);
|
|
}
|
|
|
|
}
|