feat: implement currency rates tracking with models, migrations and views

This commit is contained in:
2025-05-24 05:59:12 +03:00
parent 72b4eff3ee
commit b19748ef20
21 changed files with 690 additions and 361 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace Database\Seeders;
use App\Models\Rate;
use Illuminate\Database\Seeder;
class RateSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Rate::factory()->today()->create();
Rate::factory()->last20Days()->count(5)->create();
}
}