1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-24 19:32:46 +01:00

add presence migration

This commit is contained in:
Flam3rboy 2021-10-17 00:51:51 +02:00
parent 60220a292d
commit c378724bf3

View File

@ -0,0 +1,11 @@
import { MigrationInterface, QueryRunner, TableColumn } from "typeorm";
export class Presence1634424361103 implements MigrationInterface {
name = "Presence1634424361103";
public async up(queryRunner: QueryRunner): Promise<void> {
queryRunner.addColumn("sessions", new TableColumn({ name: "activites", type: "text" }));
}
public async down(queryRunner: QueryRunner): Promise<void> {}
}