feat: add user preferences and saved stations API endpoints

Adds authenticated endpoints for reading/updating fuel type preferences and managing saved stations, backed by new migrations and a SavedStation model.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ovidiu U
2026-04-10 18:06:31 +01:00
parent 0bae0945c0
commit 580f9c6929
7 changed files with 215 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
final class SavedStation extends Model
{
protected $fillable = ['user_id', 'station_id'];
}