Answers for "make changes to columns in a table using migration laravel"

PHP
7

laravel make migration update table

php artisan make:migration add_paid_to_users_table --table=users
Posted by: Guest on July-20-2021
4

laravel migration add column after

Schema::table('users', function ($table) {
    $table->string('email')->after('id')->nullable();
});
Posted by: Guest on December-11-2020

Code answers related to "make changes to columns in a table using migration laravel"

Browse Popular Code Answers by Language