This commit is contained in:
Andras Bacsai
2023-06-19 10:58:00 +02:00
parent 7bcbfc13b0
commit 448182497f
11 changed files with 59 additions and 17 deletions

View File

@@ -0,0 +1,28 @@
<?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::table('private_keys', function (Blueprint $table) {
$table->boolean('is_git_related')->default(false);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('private_keys', function (Blueprint $table) {
$table->dropColumn('is_git_related');
});
}
};