Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -58,8 +58,8 @@ While there are too many files to list individually, some key migrations include
|
||||
|
||||
## Working with Migrations
|
||||
|
||||
1. To run migrations: `php artisan migrate`
|
||||
2. To create a new migration: `php artisan make:migration name_of_migration`
|
||||
3. To roll back the last batch: `php artisan migrate:rollback`
|
||||
1. To create a new migration: `php artisan make:migration:safe name_of_migration`
|
||||
2. To run migrations: `php artisan migrate`
|
||||
3. To view pending migrations: `php artisan migrate:status`
|
||||
|
||||
When modifying the database schema, always create a new migration rather than modifying existing ones to maintain data integrity in production environments.
|
||||
In development mode, `migrate` automatically creates a database snapshot and rolls back on failure. No manual rollback command exists - forward-only migrations are enforced.
|
||||
Reference in New Issue
Block a user