Add Kubernetes initials

This commit is contained in:
Andras Bacsai 2023-03-28 08:22:17 +02:00
parent 8d530d5f6f
commit f7dd65d1e1
4 changed files with 56 additions and 0 deletions

11
app/Models/Kubernetes.php Normal file
View File

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Kubernetes extends Model
{
use HasFactory;
}

View File

@ -0,0 +1,27 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('kubernetes', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('kubernetes');
}
};

View File

@ -20,6 +20,7 @@ public function run(): void
EnvironmentSeeder::class, EnvironmentSeeder::class,
StandaloneDockerSeeder::class, StandaloneDockerSeeder::class,
SwarmDockerSeeder::class, SwarmDockerSeeder::class,
KubernetesSeeder::class,
ApplicationSeeder::class, ApplicationSeeder::class,
DBSeeder::class, DBSeeder::class,
]); ]);

View File

@ -0,0 +1,17 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class KubernetesSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
//
}
}