-- Per-card Jira sync state. Populated by the dispatcher after every push to -- Jira so the frontend can render an indicator (gray/yellow/green) and a -- tooltip with the last known status without polling Jira itself. -- -- jira_last_status: the Jira status name the card was transitioned to in the -- most recent successful sync (e.g. "In Progress", "Done"). -- jira_last_sync_at: RFC3339 timestamp of the last sync attempt (success or -- failure). -- jira_last_error: the error message from the last failed sync, or empty when -- the last sync succeeded. ALTER TABLE cards ADD COLUMN jira_last_status TEXT NOT NULL DEFAULT ''; ALTER TABLE cards ADD COLUMN jira_last_sync_at TEXT NOT NULL DEFAULT ''; ALTER TABLE cards ADD COLUMN jira_last_error TEXT NOT NULL DEFAULT '';