KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/leadai/leadai.co.in/database/migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/leadai/leadai.co.in/database/migrations/2024_09_27_125014_create_organizations_table.php
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateOrganizationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('organizations', function (Blueprint $table) {
            $table->id();
            $table->integer('admin_id');
            $table->string("name");
            $table->string("email");
            $table->string("phone");
            $table->string("website")->nullable();
            $table->string("city")->nullable();
            $table->string("state")->nullable();
            $table->string("country")->nullable();
            $table->string("gstin")->nullable();
            $table->string("type")->nullable();
            $table->string("contact_name")->nullable();
            $table->string("contact_person")->nullable();
            $table->string("contact_phone")->nullable();
            $table->integer("assign_to")->nullable();
            $table->enum("status",['0','1'])->default('0');

            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('organizations');
    }
}

Anon7 - 2021