add another field in existing migration laravel
php artisan make:migration add_paid_to_users_table --table=users
add another field in existing migration laravel
php artisan make:migration add_paid_to_users_table --table=users
how set field after another field in migration in laravel
Schema::table('users', function($table)
{
$table->string('phone_nr')->after('id');
});
laravel add column to table
Schema::table('users', function (Blueprint $table) {
$table->dateTime('verify_date')->nullable()->after("password_updated_at");
});
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