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