Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel change string to text

Schema::table('yourTable', function (Blueprint $table) {
    $table->text('body')->nullable()->change();
});
 
PREVIOUS NEXT
Tagged: #laravel #change #string #text
ADD COMMENT
Topic
Name
2+9 =