3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 02:25:01 +00:00

Re-create migration to ensure it gets executed

This commit is contained in:
Dark 2021-11-03 15:43:33 +01:00
parent 39264d7d12
commit ab2e98a4b7
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8

View file

@ -1,19 +0,0 @@
import { MigrationInterface, QueryRunner, TableColumn } from "typeorm";
export class AddSourceMessageIdToReminders1631494429170 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.addColumns("reminders", [
new TableColumn({
name: "source_message_id",
type: "bigint",
isNullable: true,
default: null,
unsigned: true,
}),
]);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.dropColumn("reminders", "source_message_id");
}
}