| 1 | -- Where catching up on `work.migrated` got to (g1t_kit::work_migrated): the |
| 2 | -- cron pages through the work service's `legacy_item_map` and applies each |
| 3 | -- page as the event would have, until the last. |
| 4 | CREATE TABLE work_catch_up ( |
| 5 | name TEXT PRIMARY KEY, |
| 6 | cursor TEXT, |
| 7 | page INTEGER NOT NULL DEFAULT 0, |
| 8 | done_at TEXT |
| 9 | ); |
| 10 | INSERT INTO work_catch_up (name) VALUES ('work.migrated'); |