I have an application on production, and I need to change length of a string column to 280 (as the default is 255).
Is it safe for changing it to string to 280?
In my local, using MySQLWorkbench, the
stringcolumn was showing asVARCHAR(255)- I edited it toVARCHAR(280)from MySQLWorkbench, and it seems to work that way in my local, however is this safe to do that in production or should I make use the migration way (Schema builder) like this:Schema::table('posts', function ($table) { $table->string('text', 280)->change(); });Also the migration way wouldn't remove the existing rows, right?