14 lines
410 B
TypeScript
14 lines
410 B
TypeScript
import { Migration } from '@mikro-orm/migrations';
|
|
|
|
export class Migration20250312011946 extends Migration {
|
|
|
|
override async up(): Promise<void> {
|
|
this.addSql(`alter table \`map_object\` change \`pivot_points\` \`depth_offsets\` json not null;`);
|
|
}
|
|
|
|
override async down(): Promise<void> {
|
|
this.addSql(`alter table \`map_object\` change \`depth_offsets\` \`pivot_points\` json not null;`);
|
|
}
|
|
|
|
}
|