Answers for "longtext size in laravel migration"

PHP
0

long text in laravel migration

Schema::create('posts', function ($table) {
    $table->increments('id');
    $table->integer('user_id');
    // ...
    $table->longText('description');
    // ...
}
Posted by: Guest on September-04-2021
1

bigtext migration laravel

$table->longText('description');
Posted by: Guest on September-01-2021

Browse Popular Code Answers by Language