summary refs log tree commit diff
path: root/util/src/migrations/1634424361103-Presence.ts
blob: 729955b8e4885638cb95980b91882e67af6a0b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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> {}
}