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');
});
}
};

View File

@@ -60,7 +60,8 @@ KDOflMRFj39/bOLmv9Wmct+3ArKiLtftlqkmAJTF+w7fJCiqH0s31A+OChi9PMcy
oV2PBC0CgYAXOm08kFOQA+bPBdLAte8Ga89frh6asH/Z8ucfsz9/zMMG/hhq5nF3
7TItY9Pblc2Fp805J13G96zWLX4YGyLwXXkYs+Ae7QoqjonTw7/mUDARY1Zxs9m/
a1C8EDKapCw5hAhizEFOUQKOygL8Ipn+tmEUkORYdZ8Q8cWFCv9nIw==
-----END RSA PRIVATE KEY-----"
-----END RSA PRIVATE KEY-----",
"is_git_related" => true
]);
PrivateKey::create([
"team_id" => $team_1->id,