- Added suspend method in VCenterManagerController to handle VM suspension requests. - Introduced VmSuspendedMail for notifying customers about VM suspension. - Created email template for VM suspension notification. - Updated API routes to include VM suspend functionality. - Modified cors.php to allow additional local development URL. - Updated DatabaseSeeder to include AdminSeeder and commented out unused seeders. - Removed deprecated Livewire components related to cart, customer email history, invoices, orders, tickets, transactions, user settings, and VPS reinstall modal.
30 lines
728 B
PHP
30 lines
728 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Customer;
|
|
use App\Models\User;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$this->call(BankTransferPaymentSeeder::class);
|
|
$this->call(AdminSeeder::class);
|
|
$this->call(RoleSeeder::class);
|
|
$this->call(RolesAndPermissions::class);
|
|
$user = User::find(1);
|
|
$user->assignRole('Full Administrator');
|
|
$this->call(TemplateSeeder::class);
|
|
$this->call(Setting::class);
|
|
// $this->call(ControlPanelSeeder::class);
|
|
// $this->call(VPSProductSeeder::class);
|
|
}
|
|
}
|