Ovidiu U 48af2083f3 feat: add fuel:archive command and monthly scheduler entry
Completes Tasks 12 + 13 from docs/superpowers/plans/2026-04-03-fuel-api-ingestion.md.

- ArchiveOldPricesCommand moves station_prices rows older than 12 months
  into station_prices_archive in chunks of 1000, wrapping each chunk's
  insert + delete in a DB::transaction so a partial failure can't
  duplicate rows.
- StationPriceArchive: add $table = 'station_prices_archive'; without it
  Eloquent infers 'station_price_archives' and the insert would fail.
- routes/console.php: register fuel:archive monthly on the 1st at 04:00
  UTC, alongside the other fuel/oil scheduler entries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 18:33:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-29 09:29:07 +01:00
2026-04-04 08:23:04 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:47:05 +01:00
2026-04-03 16:45:47 +01:00

The file is empty.
Description
No description provided
Readme 2.7 MiB
Languages
PHP 60.5%
Vue 14.8%
Blade 14%
HTML 9.2%
JavaScript 1%
Other 0.5%