Add Kubernetes initials
This commit is contained in:
parent
8d530d5f6f
commit
f7dd65d1e1
11
app/Models/Kubernetes.php
Normal file
11
app/Models/Kubernetes.php
Normal 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;
|
||||||
|
}
|
@ -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');
|
||||||
|
}
|
||||||
|
};
|
@ -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,
|
||||||
]);
|
]);
|
||||||
|
17
database/seeders/KubernetesSeeder.php
Normal file
17
database/seeders/KubernetesSeeder.php
Normal 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
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user