how set field after another field in migration in laravel
Schema::table('users', function($table)
{
$table->string('phone_nr')->after('id');
});
how set field after another field in migration in laravel
Schema::table('users', function($table)
{
$table->string('phone_nr')->after('id');
});
how add field to table by another migration in laravel
php artisan make:migration add_store_id_to_users_table --table=users
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us