@mustafaabdujalil this is not enough, not knowing if you use any package.. not run composer install or sharing the migration file that throws the error..
this is the migration file and i run the this command (php artisan migrate) it's working well on local but on server gives me mentioned error
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterCountriesTableAddColNameAr extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('countries', function (Blueprint $table) {
$table->string('name_ar')->nullable()->after('name');
});
Schema::table('cities', function (Blueprint $table) {
$table->string('name_ar')->nullable()->after('name');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('countries', function (Blueprint $table) {
$table->dropColumn('name_ar');
});
Schema::table('cities', function (Blueprint $table) {
$table->dropColumn('name_ar');
});
}
}