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