migration
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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";`);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user