Hello
So if i create a migration with columns id, number, date, status....
Run migration, my table is created..
But now I want to add a new column called "terms"
I create new migration,
>> php artisan make:migration add_terms_to_f_quotes_table --table=f_quotes
Then I add my new column name, following documentation.
public function up()
{
Schema::table('f_quotes', function (Blueprint $table) {
$table->string('terms');
});
}
However this has put the column name at the end of the tables.
Is there a way to change the order in which it appears in the table.... e.g. before an existing column?