I have one SQL table which will contain (TEXT/VARCHAR) columns of some length.
How can I change the existing column length without dropping or hardcode existing database table.
2020_02_13_065846_create_users_documents_table.php
public function up()
{
Schema::create('user_documents', function (Blueprint $table) {
$table->increments('id');
$table->string('upload_url', 200)->nullable();
$table->string('user_name', 50)->nullable();
});
Now I want to change the length of column user_name
to 200 by creating a new table.