mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
Move all git examples into ApplicationSeeder on railpack, using the reorganized coollabsio/coolify-examples main branch, and drop the separate Railpack Examples project. Add DEV_SEED_IP to set the IP for seeded sslip.io domains (e.g. a Tailscale IP). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
408 B
PHP
20 lines
408 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Application;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class ApplicationSettingsSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$application_1 = Application::find(1)->load(['settings']);
|
|
$application_1->settings->is_debug_enabled = false;
|
|
$application_1->settings->save();
|
|
}
|
|
}
|