Answers for "what to do after adding column laravel"

PHP
4

laravel migration add column after

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

laravel add column to table

Schema::table('users', function (Blueprint $table) {
	$table->dateTime('verify_date')->nullable()->after("password_updated_at");
});
Posted by: Guest on April-01-2020

Code answers related to "what to do after adding column laravel"

Browse Popular Code Answers by Language