ctrlpanel/database/seeders/Seeds/ProductSeeder.php
IceToast bd11bd2657
Revert "Merge branch 'v0.10' into development"
This reverts commit e6a545309f, reversing
changes made to 036fe6f47f.
2023-02-01 21:03:20 +01:00

44 lines
1 KiB
PHP

<?php
namespace Database\Seeders\Seeds;
use App\Models\Product;
use Illuminate\Database\Seeder;
class ProductSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Product::create([
'name' => 'Starter',
'description' => '64MB Ram, 1GB Disk, 1 Database, 140 credits monthly',
'price' => 140,
'memory' => 64,
'disk' => 1000,
'databases' => 1,
]);
Product::create([
'name' => 'Standard',
'description' => '128MB Ram, 2GB Disk, 2 Database, 210 credits monthly',
'price' => 210,
'memory' => 128,
'disk' => 2000,
'databases' => 2,
]);
Product::create([
'name' => 'Advanced',
'description' => '256MB Ram, 5GB Disk, 5 Database, 280 credits monthly',
'price' => 280,
'memory' => 256,
'disk' => 5000,
'databases' => 5,
]);
}
}