Answers for "laravel migration datatype long text"

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

Code answers related to "laravel migration datatype long text"

Browse Popular Code Answers by Language