Files
appstore/apps/sqlpage/0.48.0/site-template/timeline.sql
T
renovate[bot]andgithub-action update-app-version cc4aa4d685 Update lovasoa/sqlpage Docker tag to v0.48.0 (#8607)
* Update lovasoa/sqlpage Docker tag to v0.48.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2026-11-12 18:33:42 +08:00

13 lines
360 B
SQL

select 'dynamic' as component, sqlpage.run_sql('shell.sql') as properties;
select 'timeline' as component;
select
title,
'todo_form.sql?todo_id=' || id as link,
created_at as date,
'calendar' as icon,
'green' as color,
printf('%d days ago', julianday('now') - julianday(created_at)) as description
from todos
order by created_at desc;