php artisan fait la migration
php artisan make:migration create_users_table
ajouter une colonne dans la migration laravel
php artisan make:migration add_paid_to_users_table --table=users
laravel créer une migration
// use the make:migration Artisan command to generate a database migration
php artisan make:migration create_flights_table
// use --create to indicate whether the migration will be creating a new table
php artisan make:migration create_flights_table --create=flights
// use --table to indicate the table name
php artisan make:migration add_destination_to_flights_table --table=flights
l'artisan fait la migration avec le modèle
php artisan make:Model Status -m
quelle est l'utilisation du fichier de migration dans laravel
Simply put, Laravel migration is a way that allows you to create a table in your database, without actually going to the database manager such as phpmyadmin or sql lite or whatever your manager is
laravel créer une migration
php artisan make:migration add_votes_to_users_table --table=users
php artisan make:migration create_users_table --create=users
frais migrqte laravel
$ php artisan migrate:fresh
Dropped all tables successfully.
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table