mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-06-11 02:50:29 +00:00
🔥 **Remove Highscore and Bindle features**
- 🗑️ Deleted `Highscore` feature (Model, Controller, Factory, Tests, Routes, Migrations) and associated logic. - 🗑️ Removed `BindleController` and its related test. - 🧹 Cleaned up unused routes, database seeders, and localization references. - 🚫 Deprecated inactive book rental guide component and associated views.
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Highscore;
|
||||
use Database\Factories\Helpers\NostrHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends Factory<Highscore>
|
||||
*/
|
||||
class HighscoreFactory extends Factory
|
||||
{
|
||||
protected $model = Highscore::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'npub' => NostrHelper::randomNpub(),
|
||||
'name' => fake()->name(),
|
||||
'satoshis' => fake()->numberBetween(0, 100000),
|
||||
'blocks' => fake()->numberBetween(0, 1000),
|
||||
'achieved_at' => fake()->dateTimeBetween('-1 year', 'now'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user