File: //var/www/quadcode/database/migrations/2023_11_08_115000_add_country_code_to_feedback.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddCountryCodeToFeedback extends Migration
{
public function up()
{
Schema::table('feedback', function (Blueprint $table) {
$table->string('country_code')->nullable();
});
}
public function down()
{
Schema::table('feedback', function (Blueprint $table) {
$table->dropColumn(['country_code']);
});
}
}