- Change environment in
index.php - Open
application/config/<environment>and editconfig.phpanddatabase.php - Run
php index.php migration run. See migration options - Run
php index.php migration seed
php index.php migration <option>:
runExecute all migrationsrun <version>Run single migration by version numberundoundo last migrationcreateGenerate migration files from database tables !!THIS MAY OVERWRITE CURRENT MIGRATIONS!!create <ClassName>Generate migration using specific classseedSeed data from all available seedersseed <ClassName>Seed data from specified classrefreshTruncate all tables and run migrations againhelpshow help options