#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.

bash
php artisan make:migration add_colonne_to_table_table --table=table

Crée la table pour stocker les jobs échoués.

bash
php artisan queue:failed-table && php artisan migrate

Génère Model, migration, controller resource en une commande.

bash
php artisan make:model NomModel -mcr

Génère un fichier de migration.

bash
php artisan make:migration create_nom_table_table

Génère un Model et sa migration associée.

bash
php artisan make:model NomModel -m

Crée un fichier de migration SQL.

bash
supabase migration new nom_migration

Envoie les migrations vers la base distante.

bash
supabase db push