Improve migration and command output verbosity
Add migrate:commit reminder after successful migrations in dev mode Add --silent flag to rsx:clean and use in framework updates Add minimal README.md with clone instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -264,11 +264,12 @@ class Maint_Migrate extends Command
|
||||
|
||||
$this->info("\nAll tasks completed!");
|
||||
|
||||
// Unlink manifest cache if not in production (triggers fast rebuild)
|
||||
if (app()->environment() !== 'production') {
|
||||
\App\RSpade\Core\Manifest\Manifest::_unlink_cache();
|
||||
// Remind user to commit snapshot in development mode
|
||||
if ($require_snapshot) {
|
||||
$this->newLine();
|
||||
$this->line('Please run <info>php artisan migrate:commit</info> to finish the migration process.');
|
||||
}
|
||||
|
||||
|
||||
// Disable query logging
|
||||
AppServiceProvider::disable_query_echo();
|
||||
|
||||
|
||||
@@ -104,13 +104,16 @@ class Migrate_Commit_Command extends Command
|
||||
$this->line('• The web UI is now accessible');
|
||||
$this->info('');
|
||||
|
||||
// Unlink manifest cache if not in production (triggers fast rebuild)
|
||||
// Run post-migration tasks in development mode
|
||||
if (app()->environment() !== 'production') {
|
||||
\App\RSpade\Core\Manifest\Manifest::_unlink_cache();
|
||||
|
||||
// Regenerate model constants from enum definitions
|
||||
$this->info('Regenerating model constants...');
|
||||
$this->call('rsx:constants:regenerate');
|
||||
|
||||
// Recompile bundles
|
||||
$this->newLine();
|
||||
$this->info('Recompiling bundles...');
|
||||
$this->call('rsx:bundle:compile');
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user