mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-27 12:55:26 +00:00
Fix issues with requesting presences
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
|
||||
export class client_status1723347738541 implements MigrationInterface {
|
||||
name = "client_status1723347738541";
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
"ALTER TABLE sessions ADD client_status text NULL",
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
"ALTER TABLE sessions DROP COLUMN client_status",
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user