mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 01:11:43 +03:00
chore(server): sql versioning (#5346)
* chore(server): sql versioning * chore: always add newline to end of file * refactor: generator * chore: pr feedback * chore: pr feedback
This commit is contained in:
13
server/src/infra/sql/system.config.repository.sql
Normal file
13
server/src/infra/sql/system.config.repository.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
-- NOTE: This file is auto generated by ./sql-generator
|
||||
|
||||
-- SystemConfigRepository.load
|
||||
SELECT
|
||||
"SystemConfigEntity"."key" AS "SystemConfigEntity_key",
|
||||
"SystemConfigEntity"."value" AS "SystemConfigEntity_value"
|
||||
FROM
|
||||
"system_config" "SystemConfigEntity"
|
||||
|
||||
-- SystemConfigRepository.deleteKeys
|
||||
DELETE FROM "system_config"
|
||||
WHERE
|
||||
"key" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)
|
||||
Reference in New Issue
Block a user