mirror of https://github.com/sylv/micro.git
12 lines
320 B
TypeScript
12 lines
320 B
TypeScript
import { Migration } from '@mikro-orm/migrations';
|
|
|
|
export class Migration20240126092417 extends Migration {
|
|
async up(): Promise<void> {
|
|
this.addSql('alter table "files" add column "is_utf8" boolean null;');
|
|
}
|
|
|
|
async down(): Promise<void> {
|
|
this.addSql('alter table "files" drop column "is_utf8";');
|
|
}
|
|
}
|