Initial commit

This commit is contained in:
root
2026-05-09 17:28:23 +02:00
commit 9d73f82529
5575 changed files with 281989 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
<?php
namespace Database\Seeders;
use App\Models\Help\WebsiteRuleCategory;
use Illuminate\Database\Seeder;
class WebsiteRuleCategorySeeder extends Seeder
{
public function run(): void
{
$categories = [
[
'name' => 'General Rules',
'description' => 'The general rules of the hotel',
'badge' => 'hotel-icon',
'created_at' => now(),
'updated_at' => now(),
],
[
'name' => 'Account Rules',
'description' => 'The general account rules on Habbo',
'badge' => 'hotel-icon',
'created_at' => now(),
'updated_at' => now(),
],
[
'name' => 'Hotel',
'description' => 'Hotel rules & guidelines',
'badge' => 'hotel-icon',
'created_at' => now(),
'updated_at' => now(),
],
];
WebsiteRuleCategory::upsert($categories, ['name']);
}
}