1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

add presence migration

This commit is contained in:
Flam3rboy 2021-10-17 00:51:51 +02:00
parent 176fbbe082
commit f2cb03da4b

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> {}
}