Improve database migrations

This commit is contained in:
Jan Oberhauser
2020-05-04 17:29:39 +02:00
parent 75f0a653e4
commit 42b997fdb4
6 changed files with 65 additions and 81 deletions

View File

@@ -1,11 +1,11 @@
import {MigrationInterface, QueryRunner} from "typeorm";
import { MigrationInterface, QueryRunner } from 'typeorm';
export class InitialMigration1587563438936 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<any> {
}
async up(queryRunner: QueryRunner): Promise<void> {
}
public async down(queryRunner: QueryRunner): Promise<any> {
}
async down(queryRunner: QueryRunner): Promise<void> {
}
}