| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /home/u901718425/domains/arvos.in/database/migrations/ |
| Current File : /home/u901718425/domains/arvos.in/database/migrations/2023_03_21_042848_create_vendors_table.php |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('vendors', function (Blueprint $table) {
$table->id();
$table->text('banner');
$table->string('phone');
$table->string('email');
$table->text('address');
$table->text('description');
$table->text('fb_link')->nullable();
$table->text('tw_link')->nullable();
$table->text('insta_link')->nullable();
$table->integer('user_id');
$table->boolean('status')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('vendors');
}
};