Commit 67f6be3
Expose updated_at on v_usdc_purchases view
Two reader routes (v1_users_purchases, v1_users_sales) return updated_at
in their JSON payload. Alias sp.created_at to keep the API contract
intact — the legacy table sets both columns to CURRENT_TIMESTAMP at
insert and never updates rows, so created_at = updated_at in practice.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent a563dc8 commit 67f6be3
3 files changed
Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12913 | 12913 | | |
12914 | 12914 | | |
12915 | 12915 | | |
| 12916 | + | |
12916 | 12917 | | |
12917 | 12918 | | |
12918 | 12919 | | |
| |||
0 commit comments