Answers for "type varchar in migration laravel"

PHP
0

laravel migration change column type

public function up()
{
    Schema::table('sometable', function (Blueprint $table) {
        $table->text('text')->change();
    });
}
Posted by: Guest on June-10-2020
3

laravel remove foreign key

$table->dropForeign('posts_user_id_foreign');
Posted by: Guest on April-22-2020

Code answers related to "type varchar in migration laravel"

Browse Popular Code Answers by Language