Answers for "add id column to table start of table laravel with migration"

PHP
6

add new column in existing table in laravel migration

php artisan make:migration add_paid_to_users_table --table=users
Posted by: Guest on April-30-2020
3

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 "add id column to table start of table laravel with migration"

Browse Popular Code Answers by Language