Remove --production flag hint from development mode migration errors
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -44,11 +44,6 @@ class Seed_Command extends LaravelSeedCommand
|
|||||||
$this->info('');
|
$this->info('');
|
||||||
$this->line('To begin a migration session:');
|
$this->line('To begin a migration session:');
|
||||||
$this->line(' php artisan migrate:begin');
|
$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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,11 +70,6 @@ class Maint_Migrate extends Command
|
|||||||
$this->info('');
|
$this->info('');
|
||||||
$this->line('To begin a migration session:');
|
$this->line('To begin a migration session:');
|
||||||
$this->line(' php artisan migrate:begin');
|
$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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,11 +111,6 @@ class Migrate_Normalize_Schema_Command extends Command
|
|||||||
$this->info('');
|
$this->info('');
|
||||||
$this->line('To begin a migration session:');
|
$this->line('To begin a migration session:');
|
||||||
$this->line(' php artisan migrate:begin');
|
$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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user