I have a table with a column \'hotel\'. The project is created in Laravel 5.4, so I used Migrations.
$table->string(\'hotel\', 50);
Thi
You need to create a new migration, register it with composer du command and run php artisan migrate command to change type of the column:
composer du
php artisan migrate
Schema::table('the_table_name', function (Blueprint $table) { $table->string('hotel', 255)->change(); });