Administration/Command Line
Migration Command
The gig migra command is used to handle database migrations in Gigantics.
Usage
Description
The migration command manages database schema changes and versioning. It's used to apply or rollback migrations to keep the database structure synchronized with the application.
Common Options
Migration-specific options would be detailed here. Common patterns include:
--up- Apply migrations--down- Rollback migrations--status- Check migration status
Examples
Best Practices
- Always backup your database before running migrations
- Test migrations in a development environment first
- Check migration status before applying changes
- Ensure application is stopped during critical migrations