public function up(): void
{
Schema::create('contact_messages', function (Blueprint $table) {
$table->id();
$table->string("first_name", 100);
$table->string("last_name", 100);
$table->string("email")->index();
$table->string("phone_number", 20)->nullable();
$table->text("message");
$table->string("ip_address", 45)->nullable();
$table->timestamps();
});
}
public function up(): void
{
Schema::create('contact_messages', function (Blueprint $table) {
$table->id();
$table->string("first_name", 100);
$table->string("last_name", 100);
$table->string("email")->index();
$table->string("phone_number", 20)->nullable();
$table->text("message");
$table->string("ip_address", 45)->nullable();
$table->timestamps();
});
}