#migration
7 commande(s) avec le tag #migration
Commandes partagées par la communauté CodeBox, copiables en un clic.
Génère une migration pour modifier une table existante.
php artisan make:migration add_colonne_to_table_table --table=table
Laravel
Créer la table failed_jobs
Crée la table pour stocker les jobs échoués.
php artisan queue:failed-table && php artisan migrate
Laravel
Créer un Model complet
Génère Model, migration, controller resource en une commande.
php artisan make:model NomModel -mcr
Laravel
Créer une migration
Génère un fichier de migration.
php artisan make:migration create_nom_table_table
Laravel
Créer un Model + migration
Génère un Model et sa migration associée.
php artisan make:model NomModel -m