Answers for "laravel Migration set integer length"

PHP
1

laravel migration change column length

Schema::table('users', function ($table) {
    $table->string('name', 50)->change();
});
Posted by: Guest on November-19-2020
2

laravel migration integer

$table->integer('votes');
Posted by: Guest on March-22-2021

Code answers related to "laravel Migration set integer length"

Browse Popular Code Answers by Language