2025-04-03days
Going into Else: We have a subtown to update
2025-04-03days
Going into Else: we dont have a priority subtown we take a new subtown
SELECT * FROM geonames_nearby WHERE priority=0 ORDER BY timestamp
Sjöeryd
SELECT * FROM geonames_town WHERE address='Sjöeryd'UPDATE geonames_nearby SET timestamp='2025-04-04 17:15:48' WHERE id=3604
DELETE FROM fetch_data WHERE company_id=10004 AND town_id='34' AND sub_town_id=3604
If town to the left is equal to this town Sjöeryd then abort because its a duplicate in town and subtown
https://api.tickster.com/sv/api/0.4/events/upcoming?q=Sj%C3%B6eryd&take=100&sort=eventstart&key=ff76215c9ed03e79
Nubmer of hits in this search = 0
No hits in this search