Answers for "long text datatype 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

Code answers related to "long text datatype in laravel migration"

Browse Popular Code Answers by Language