Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

long text in laravel migration

Schema::create('posts', function ($table) {
    $table->increments('id');
    $table->integer('user_id');
    // ...
    $table->longText('description');
    // ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #long #text #laravel #migration
ADD COMMENT
Topic
Name
1+6 =