Berechne Liebschaftsalter in Spieljahren
Some checks failed
Deploy yourpart (blue-green) / deploy (push) Has been cancelled
Some checks failed
Deploy yourpart (blue-green) / deploy (push) Has been cancelled
This commit is contained in:
@@ -3606,8 +3606,8 @@ pub const QUERY_GET_ACTIVE_LOVER_ROWS_FOR_DAILY: &str = r#"
|
|||||||
fu1.id AS user1_id,
|
fu1.id AS user1_id,
|
||||||
fu2.id AS user2_id,
|
fu2.id AS user2_id,
|
||||||
LEAST(
|
LEAST(
|
||||||
((CURRENT_DATE - c1.birthdate::date) / 365),
|
(CURRENT_DATE - c1.birthdate::date),
|
||||||
((CURRENT_DATE - c2.birthdate::date) / 365)
|
(CURRENT_DATE - c2.birthdate::date)
|
||||||
)::int AS min_age_years,
|
)::int AS min_age_years,
|
||||||
COALESCE((
|
COALESCE((
|
||||||
SELECT MAX(uh.servant_discretion_modifier)::int
|
SELECT MAX(uh.servant_discretion_modifier)::int
|
||||||
@@ -3659,8 +3659,8 @@ pub const QUERY_GET_ACTIVE_LOVER_ROWS_FOR_MONTHLY: &str = r#"
|
|||||||
fu1.id AS user1_id,
|
fu1.id AS user1_id,
|
||||||
fu2.id AS user2_id,
|
fu2.id AS user2_id,
|
||||||
LEAST(
|
LEAST(
|
||||||
((CURRENT_DATE - c1.birthdate::date) / 365),
|
(CURRENT_DATE - c1.birthdate::date),
|
||||||
((CURRENT_DATE - c2.birthdate::date) / 365)
|
(CURRENT_DATE - c2.birthdate::date)
|
||||||
)::int AS min_age_years
|
)::int AS min_age_years
|
||||||
FROM falukant_data.relationship r
|
FROM falukant_data.relationship r
|
||||||
JOIN falukant_type.relationship rt
|
JOIN falukant_type.relationship rt
|
||||||
@@ -3864,8 +3864,8 @@ pub const QUERY_GET_ACTIVE_LOVER_ROWS_FOR_INSTALLMENT: &str = r#"
|
|||||||
fu1.id AS user1_id,
|
fu1.id AS user1_id,
|
||||||
fu2.id AS user2_id,
|
fu2.id AS user2_id,
|
||||||
LEAST(
|
LEAST(
|
||||||
((CURRENT_DATE - c1.birthdate::date) / 365),
|
(CURRENT_DATE - c1.birthdate::date),
|
||||||
((CURRENT_DATE - c2.birthdate::date) / 365)
|
(CURRENT_DATE - c2.birthdate::date)
|
||||||
)::int AS min_age_years
|
)::int AS min_age_years
|
||||||
FROM falukant_data.relationship r
|
FROM falukant_data.relationship r
|
||||||
JOIN falukant_type.relationship rt
|
JOIN falukant_type.relationship rt
|
||||||
|
|||||||
Reference in New Issue
Block a user