Reference search
Results for "migrations"
Reference results link to the matching section. Follow its prerequisites before using a code extract.
From the matching guide
Database And Migrations
...Migration files live in database/migrations ; applied migrations are tracked by the framework. Do not edit an applied migration in production. The local/development-only --allow-changed migration option is not a production repair strategy. ...
php coriander make:database
php coriander make:migration CreateUsersTable
php coriander migrate:status
php coriander migrate --dry-run
php coriander migrate
php coriander migrate:rollback --dry-run
php coriander migrate:rollback --step=2
CLI Guide
Database And Migrations
...Migration files live in database/migrations ; applied migrations are tracked by the framework. Do not edit an applied migration in production. The local/development-only --allow-changed migration option is not a production repair strategy. ...
Database Module Guide
Migrations
CorianderPHP supports timestamped migration files with batch tracking.
Database Patterns
Migrations Own Schema
...Migrations describe database structure.
Recommended App Architecture
Recommended App Architecture
Keep framework files separate from application behavior. In 0.4.1, pages and HTTP handlers share one private Views tree; classes and browser helpers remain ordinary app-owned code. Actions is a convention, not a special framework feature. A...
Core Concepts
Database And Sessions
Migrations describe tables. Repositories use SQLManager and parameterized sqlScript() queries. Authentication code explicitly starts a session with SessionBootstrap::start() ; public pages do not need a session.
Errors And Debugging
Database Errors
Check driver extensions, environment connection values, writable SQLite parent directories, and migration status: Keep queries parameterized and inspect server logs. Do not print connection secrets or raw database exceptions to users.
Custom Module Guide
Build A Working Custom Module
...Use a new learning database: the migration below creates a posts table and inserts sample data. PostRepository is a class you create, not a built-in framework feature. The starter's Composer mapping "App\\": "src/" loads it from src/Modules...
Page Scripts And Shared TypeScript
Builds, Watchers, And Deployment
...See NodeJS Integration for tooling and Upgrade Guide for migration.
Production Checklist
Production Checklist
...A successful core update alone is not a successful application migration.
File-Based Routing
Inspect And Cache Routes
...Follow the 0.4.1 migration checklist before replacing your old route registration.
Security Guide
Database And Framework Updates
...Keep migrations and backups outside public access. The updater validates sources/archive paths and supports policy restrictions. Keep secrets, logs, source files, and backups private. See Production Checklist and Upgrade Guide .
Authentication, Sessions And Flash Messages
Prerequisites
...The forum data model provides a complete migration and seed example. This is not a complete production authentication product: add login throttling, account lifecycle/recovery, session expiry, and appropriate permission checks for your app....
Upgrade Guide
Safe Update Routine
1 Record Run php coriander version and read the release's migration notes. 2 Protect Commit app changes and back up database/environment configuration. 3 Preview Run php coriander update --dry-run and inspect the managed-file plan. 4 Migrat...