One Hat Cyber Team
Your IP :
3.128.226.139
Server IP :
104.21.96.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
staging.gftag.com
/
database
/
migrations
/
View File Name :
2023_11_23_064327_create_organisations_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\DB; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('organisations', function (Blueprint $table) { $table->id(); $table->foreignId('user_id')->references('id')->on('users'); $table->foreignId('state_id')->references('id')->on('states'); $table->string('name'); $table->string('email'); $table->string('phone'); $table->string('address')->nullable(); $table->string('gst_no')->nullable(); $table->integer('status')->default(1); $table->string('bank_details')->nullable(); $table->string('logo')->nullable(); $table->string('signature')->nullable(); $table->string('director_signature')->nullable(); $table->string('authorized_signature')->nullable(); $table->string('cin_number')->nullable(); $table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $table->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP')); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('organisations'); } };