pull request webhooks
This commit is contained in:
@@ -14,13 +14,13 @@ return new class extends Migration
|
||||
Schema::create('application_settings', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->boolean('is_static')->default(false);
|
||||
$table->boolean('is_git_submodules_allowed')->default(true);
|
||||
$table->boolean('is_git_lfs_allowed')->default(true);
|
||||
$table->boolean('is_auto_deploy')->default(true);
|
||||
$table->boolean('is_force_https')->default(true);
|
||||
$table->boolean('is_git_submodules_enabled')->default(true);
|
||||
$table->boolean('is_git_lfs_enabled')->default(true);
|
||||
$table->boolean('is_auto_deploy_enabled')->default(true);
|
||||
$table->boolean('is_force_https_enabled')->default(true);
|
||||
$table->boolean('is_debug_enabled')->default(false);
|
||||
$table->boolean('is_preview_deployments_enabled')->default(false);
|
||||
// $table->boolean('is_dual_cert')->default(false);
|
||||
$table->boolean('is_debug')->default(false);
|
||||
$table->boolean('is_previews')->default(false);
|
||||
// $table->boolean('is_custom_ssl')->default(false);
|
||||
// $table->boolean('is_http2')->default(false);
|
||||
$table->foreignId('application_id');
|
||||
|
@@ -19,6 +19,7 @@ return new class extends Migration
|
||||
$table->boolean('force_rebuild')->default(false);
|
||||
$table->string('commit')->default('HEAD');
|
||||
$table->string('status')->default('queued');
|
||||
$table->boolean('is_webhook')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
@@ -18,7 +18,7 @@ class ApplicationSettingsSeeder extends Seeder
|
||||
public function run(): void
|
||||
{
|
||||
$application_1 = Application::find(1)->load(['settings']);
|
||||
$application_1->settings->is_debug = false;
|
||||
$application_1->settings->is_debug_enabled = false;
|
||||
$application_1->settings->save();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user