Reference search
Results for "migrations"
Search results focus on framework reference pages. Open a result when you need the full explanation, or use the quick answer below when it matches what you are trying to build.
Quick answer
Create database changes
Create migrations for schema changes and use sqlScript for custom SQL queries that need to stay readable.
php coriander make:migration create_posts_table
php coriander migrate
Start Here
Database Module Guide
...ce over .env values. Avoid committing credentials to version control. Migrations CorianderPHP supports timestamped migration files with batch tracking. Create migration files php c...
CLI Guide
...ken make:migration Create a timestamped migration file under database/migrations. php coriander make:migration CreateUsersTable make:route Create an app-owned route file under src/...
Project Guidance
Database Patterns
...UD, and sqlScript() for readable custom SQL. Recommended Decision Use migrations for schema. Use SQLManager helpers when the query is simple. Use sqlScript() when the query needs j...
Recommended App Architecture
... app should keep working because controllers, modules, views, routes, migrations, assets, and tests live outside it. Responsibility Map Use controllers for request flow: read reque...
Production Checklist
...small or local deployments.MySQL for most hosted multi-user apps. Run migrations during deployment: php coriander migrate Do not edit already-run migration files in production. Wri...
Upgrade Guide
...tain your routes, controllers, modules, views, documentation, assets, migrations, and tests. Update Flow Preview first: php coriander update --dry-run Apply when ready: php coriand...