Commit 5c07624
committed
Add cellular data usage tracking schema
Adds database infrastructure for tracking data usage:
- CellularDataUsageRecord GRDB model with operation type, connection type, and bytes
- CellularDataUsageManager with record/query methods
- Weekly aggregation queries for reporting1 parent 6508cd9 commit 5c07624
File tree
4 files changed
+474
-0
lines changed- Modules/DataModel/Sources/PocketCastsDataModel
- Private/Managers/Util
- Public
- CellularDataUsage
4 files changed
+474
-0
lines changedLines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
885 | 913 | | |
886 | 914 | | |
887 | 915 | | |
0 commit comments