🆙 Add fixed cms 🆙

This commit is contained in:
Remco
2026-02-02 19:30:21 +01:00
parent b1a2cab62d
commit b67e0ec2b9
3982 changed files with 193682 additions and 0 deletions
@@ -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']);
}
}