use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProfilesTable extends Migration { public function up() { Schema::create('profiles', function (Blueprint $table) { $table->id(); $table->foreignId('user_id')->unique()->constrained()->onDelete('cascade'); $table->string('business_name')->nullable(); $table->string('contact_name')->nullable(); $table->string('phone_number')->nullable(); $table->string('address_line1')->nullable(); $table->string('address_line2')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('zip_code')->nullable(); $table->string('country')->default('US'); $table->string('business_license_number')->nullable(); $table->text('incorporation_details')->nullable(); $table->timestamps(); }); } public function down() { Schema::dropIfExists('profiles'); } }