CasperSecurity
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('organisations', function (Blueprint $table) {
$table->id();
$table->string('organisation_name');
$table->string('website_ink')->nullable();
$table->string('contact_no');
$table->string('email_address');
$table->string('gstin')->nullable();
$table->string('cin')->nullable();
$table->string('pan_no')->nullable();
$table->string('organisation_logo')->nullable();
$table->string('registered_address');
$table->string('present_address')->nullable();
$table->string('registered_city_name');
$table->string('registered_state_name');
$table->string('registered_zip_code');
$table->string('present_city_name');
$table->string('present_state_name');
$table->string('present_zip_code');
$table->string('invoice_prefix')->nullable();
$table->tinyInteger('status')->default('1');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('organisations');
}
};