Date | Time | User | Type | Name | Attribute | ||
---|---|---|---|---|---|---|---|
1 | 30th August 2024 | 06:48:07 | remus | - | - | list_type_name | |
Before
Misc.
After
Sport Climbing
|
|||||||
2 | 30th August 2024 | 06:48:07 | remus | - | - | list_type_id | |
Before
5
After
2
|
|||||||
3 | 12th August 2024 | 14:21:20 | remus | - | - | list_description_pretty | |
Before
None
After
<p>A fairly definitive list of onsight ascents of sport routes graded 8c+ or harder.</p>
|
|||||||
4 | 12th August 2024 | 14:21:20 | remus | - | - | list_definition | |
Before
None
After
select
'<a href="/climber/' || cast(c.climber_id as varchar) || '">' || c.climber_name || '</a>' as Climber
,'<a href="/climb/' || cast(cl.climb_id as varchar) || '">' || cl.climb_name || '</a>' as Climb
,g.grade as Grade
,pretty_dt(a.ascent_dt_start, a.ascent_dt_end) as "Ascent Date"
from
ascents a
inner join climbers c
on a.climber_id = c.climber_id
inner join climbs cl
on a.climb_id = cl.climb_id
inner join grades g
on cl.grade_id = g.grade_id
inner join ascent_styles asty
on a.ascent_style_id = asty.ascent_style_id
where
a.deleted_on is null
and c.deleted_on is null
and cl.deleted_on is null
and a.exclude_reason is null
and c.exclude_reason is null
and cl.exclude_reason is null
and g.grade_id >= 18
and cl.climb_type = 1
and a.ascent_type_id = 1
and a.ascent_style_id = 3
order by
g.grade_id desc
,order_dt(a.ascent_dt_start, a.ascent_dt_end)
Diff
--- before
+++ after
@@ -1 +1,32 @@
-
+select
+ '<a href="/climber/' || cast(c.climber_id as varchar) || '">' || c.climber_name || '</a>' as Climber
+ ,'<a href="/climb/' || cast(cl.climb_id as varchar) || '">' || cl.climb_name || '</a>' as Climb
+ ,g.grade as Grade
+ ,pretty_dt(a.ascent_dt_start, a.ascent_dt_end) as "Ascent Date"
+
+from
+ ascents a
+ inner join climbers c
+ on a.climber_id = c.climber_id
+ inner join climbs cl
+ on a.climb_id = cl.climb_id
+ inner join grades g
+ on cl.grade_id = g.grade_id
+ inner join ascent_styles asty
+ on a.ascent_style_id = asty.ascent_style_id
+
+where
+ a.deleted_on is null
+ and c.deleted_on is null
+ and cl.deleted_on is null
+ and a.exclude_reason is null
+ and c.exclude_reason is null
+ and cl.exclude_reason is null
+ and g.grade_id >= 18
+ and cl.climb_type = 1
+ and a.ascent_type_id = 1
+ and a.ascent_style_id = 3
+
+order by
+ g.grade_id desc
+ ,order_dt(a.ascent_dt_start, a.ascent_dt_end)
|
|||||||
5 | 12th August 2024 | 14:21:20 | remus | - | - | list_description | |
Before
None
After
A fairly definitive list of onsight ascents of sport routes graded 8c+ or harder.
Diff
--- before
+++ after
@@ -1 +1 @@
-
+A fairly definitive list of onsight ascents of sport routes graded 8c+ or harder.
|
|||||||
6 | 12th August 2024 | 14:21:20 | remus | - | - | list_name | |
Before
None
After
Hard Sport Climbing Onsights
|