Skip to content

Commit 23f72b5

Browse files
committed
chore: update queries to 2024
1 parent bfba233 commit 23f72b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ury_wrapped/tasks.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Task(NamedTuple):
1515
select show_season_timeslot_id
1616
from sis2.member_signin
1717
where memberid = %s
18-
and sign_time >= '2023-01-01'
18+
and sign_time >= '2024-01-01'
1919
),
2020
tracks as (
2121
select coalesce(rt.title, tn.track) || ' - ' || coalesce(rt.artist, tn.artist) as title
@@ -40,7 +40,7 @@ class Task(NamedTuple):
4040
from sis2.member_signin si
4141
inner join schedule.show_season_timeslot ts using (show_season_timeslot_id)
4242
where si.memberid = %s
43-
and si.sign_time >= '2023-01-01'
43+
and si.sign_time >= '2024-01-01'
4444
)
4545
select count(timeslots), sum(timeslots.duration) as duration
4646
from timeslots
@@ -54,7 +54,7 @@ class Task(NamedTuple):
5454
select show_season_timeslot_id
5555
from sis2.member_signin
5656
where memberid = %s
57-
and sign_time >= '2023-01-01'
57+
and sign_time >= '2024-01-01'
5858
),
5959
tracks as (
6060
select coalesce(rt.artist, tn.artist) as artist
@@ -79,7 +79,7 @@ class Task(NamedTuple):
7979
from sis2.member_signin si
8080
inner join schedule.show_season_timeslot ts using (show_season_timeslot_id)
8181
where si.memberid = %s
82-
and si.sign_time >= '2023-01-01'
82+
and si.sign_time >= '2024-01-01'
8383
)
8484
select sum(l.time_end - l.time_start) as listeners_time_wasted
8585
from listens.listen l
@@ -97,7 +97,7 @@ class Task(NamedTuple):
9797
select show_season_timeslot_id
9898
from sis2.member_signin
9999
where memberid = %s
100-
and sign_time >= '2023-01-01'
100+
and sign_time >= '2024-01-01'
101101
)
102102
select coalesce(rt.title, tn.track) as track, coalesce(rt.artist, tn.artist) as artist
103103
from tracklist.tracklist
@@ -115,7 +115,7 @@ class Task(NamedTuple):
115115
select show_season_timeslot_id
116116
from sis2.member_signin
117117
where memberid = %s
118-
and sign_time >= '2023-01-01'
118+
and sign_time >= '2024-01-01'
119119
),
120120
tracks as (
121121
select coalesce(rt.title, tn.track) || ' - ' || coalesce(rt.artist, tn.artist) as title

0 commit comments

Comments
 (0)