fixes
This commit is contained in:
@@ -13,7 +13,6 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('teams', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name');
|
||||
$table->boolean('personal_team')->default(false);
|
||||
$table->schemalessAttributes('extra_attributes');
|
||||
|
||||
@@ -13,13 +13,10 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('server_settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
|
||||
$table->boolean('is_part_of_swarm')->default(false);
|
||||
$table->boolean('is_jump_server')->default(false);
|
||||
$table->boolean('is_build_server')->default(false);
|
||||
$table->boolean('is_validated')->default(false);
|
||||
|
||||
$table->foreignId('server_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
@@ -13,11 +13,8 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('project_settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('wildcard_domain')->nullable();
|
||||
|
||||
$table->foreignId('project_id');
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
<?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('gits', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->enum('type', ['github', 'gitlab', 'bitbucket', 'custom']);
|
||||
|
||||
$table->string('api_url');
|
||||
$table->string('html_url');
|
||||
|
||||
$table->integer('custom_port')->default(22);
|
||||
$table->string('custom_user')->default('git');
|
||||
|
||||
$table->longText('webhook_secret')->nullable();
|
||||
$table->foreignId('private_key_id')->nullable();
|
||||
$table->foreignId('project_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('gits');
|
||||
}
|
||||
};
|
||||
@@ -13,7 +13,6 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('local_persistent_volumes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name');
|
||||
$table->string('mount_path');
|
||||
$table->string('host_path')->nullable();
|
||||
|
||||
Reference in New Issue
Block a user