Wahlproblem gefixt
Some checks failed
Deploy yourpart (blue-green) / deploy (push) Failing after 1m22s
Some checks failed
Deploy yourpart (blue-green) / deploy (push) Failing after 1m22s
This commit is contained in:
@@ -153,8 +153,8 @@ WITH removed AS (
|
||||
),
|
||||
archived_removed AS (
|
||||
INSERT INTO falukant_log.political_office_history
|
||||
(character_id, office_type_id, region_id, start_date, end_date)
|
||||
SELECT character_id, office_type_id, region_id, created_at, NOW()
|
||||
(character_id, office_type_id, region_id, start_date, end_date, created_at, updated_at)
|
||||
SELECT character_id, office_type_id, region_id, created_at, NOW(), NOW(), NOW()
|
||||
FROM removed
|
||||
),
|
||||
affected AS (
|
||||
@@ -183,8 +183,8 @@ to_delete AS (
|
||||
),
|
||||
archived_trim AS (
|
||||
INSERT INTO falukant_log.political_office_history
|
||||
(character_id, office_type_id, region_id, start_date, end_date)
|
||||
SELECT character_id, office_type_id, region_id, created_at, NOW()
|
||||
(character_id, office_type_id, region_id, start_date, end_date, created_at, updated_at)
|
||||
SELECT character_id, office_type_id, region_id, created_at, NOW(), NOW(), NOW()
|
||||
FROM to_delete
|
||||
)
|
||||
DELETE FROM falukant_data.political_office
|
||||
|
||||
Reference in New Issue
Block a user