diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-02 10:17:13 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-02 10:17:13 +0300 |
| commit | 6a40940ad6c6facea6c8e9d0dc1896885168c442 (patch) | |
| tree | 3db3b2b1035a323e655c3ff4f011c799f3b009e6 /sql/pgsql/migrations | |
| parent | f22e32a26bde89e3f3bf3ac109da1eadf6c8904c (diff) | |
split housekeeping jobs to separate scheduled tasks on longer cooldown intervals, add table to record task execution timestamps, bump schema
Diffstat (limited to 'sql/pgsql/migrations')
| -rw-r--r-- | sql/pgsql/migrations/150.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/pgsql/migrations/150.sql b/sql/pgsql/migrations/150.sql new file mode 100644 index 000000000..55d9609e9 --- /dev/null +++ b/sql/pgsql/migrations/150.sql @@ -0,0 +1,5 @@ +create table ttrss_scheduled_tasks( + id serial not null primary key, + task_name varchar(250) unique not null, + last_rc integer not null, + last_run timestamp not null default NOW()); |