From 6c7cc9bc4e00425d242e05126dbea92e91aad84d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 21 Oct 2025 06:34:18 +0000 Subject: [PATCH] Remove --production flag hint from development mode migration errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/RSpade/Commands/Database/Seed_Command.php | 5 ----- app/RSpade/Commands/Migrate/Maint_Migrate.php | 5 ----- .../Commands/Migrate/Migrate_Normalize_Schema_Command.php | 5 ----- 3 files changed, 15 deletions(-) diff --git a/app/RSpade/Commands/Database/Seed_Command.php b/app/RSpade/Commands/Database/Seed_Command.php index 1dcf7af6c..1036778bb 100755 --- a/app/RSpade/Commands/Database/Seed_Command.php +++ b/app/RSpade/Commands/Database/Seed_Command.php @@ -44,11 +44,6 @@ class Seed_Command extends LaravelSeedCommand $this->info(''); $this->line('To begin a migration session:'); $this->line(' php artisan migrate:begin'); - $this->info(''); - $this->line('Or to run without snapshot (not recommended):'); - $this->line(' php artisan db:seed --production'); - $this->warn(''); - $this->warn('⚠️ The --production flag skips safety checks and should be used carefully!'); return 1; } diff --git a/app/RSpade/Commands/Migrate/Maint_Migrate.php b/app/RSpade/Commands/Migrate/Maint_Migrate.php index 6b72cadb0..69a17d24c 100755 --- a/app/RSpade/Commands/Migrate/Maint_Migrate.php +++ b/app/RSpade/Commands/Migrate/Maint_Migrate.php @@ -70,11 +70,6 @@ class Maint_Migrate extends Command $this->info(''); $this->line('To begin a migration session:'); $this->line(' php artisan migrate:begin'); - $this->info(''); - $this->line('Or to run without snapshot (not recommended):'); - $this->line(' php artisan migrate --production'); - $this->warn(''); - $this->warn('⚠️ The --production flag skips safety checks and should be used carefully!'); return 1; } diff --git a/app/RSpade/Commands/Migrate/Migrate_Normalize_Schema_Command.php b/app/RSpade/Commands/Migrate/Migrate_Normalize_Schema_Command.php index 8b494fc85..fc487261c 100755 --- a/app/RSpade/Commands/Migrate/Migrate_Normalize_Schema_Command.php +++ b/app/RSpade/Commands/Migrate/Migrate_Normalize_Schema_Command.php @@ -111,11 +111,6 @@ class Migrate_Normalize_Schema_Command extends Command $this->info(''); $this->line('To begin a migration session:'); $this->line(' php artisan migrate:begin'); - $this->info(''); - $this->line('Or to run without snapshot (not recommended):'); - $this->line(' php artisan migrate:normalize_schema --production'); - $this->warn(''); - $this->warn('⚠️ The --production flag skips safety checks and should be used carefully!'); return 1; }