mirror of https://github.com/immich-app/immich.git
chore: remove watcher polling option (#7480)
* remove watcher polling * fix lint * add db migrationpull/7509/head
parent
784d92dbb3
commit
e4f32a045d
@ -0,0 +1,12 @@
|
|||||||
|
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||||
|
|
||||||
|
export class RemoveLibraryWatchPollingOption1709150004123 implements MigrationInterface {
|
||||||
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||||
|
await queryRunner.query(`DELETE FROM "system_config" WHERE key = 'library.watch.usePolling'`);
|
||||||
|
await queryRunner.query(`DELETE FROM "system_config" WHERE key = 'library.watch.interval'`);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async down(): Promise<void> {
|
||||||
|
// noop
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue