mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-05-13 00:45:52 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
15 lines
491 B
TypeScript
15 lines
491 B
TypeScript
import { MigrationInterface, QueryRunner } from "typeorm";
|
|
|
|
export class OAuthId1670104716264 implements MigrationInterface {
|
|
name = 'OAuthId1670104716264'
|
|
|
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "users" ADD "oauthId" character varying NOT NULL DEFAULT ''`);
|
|
}
|
|
|
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
await queryRunner.query(`ALTER TABLE "users" DROP COLUMN "oauthId"`);
|
|
}
|
|
|
|
}
|