OwlCyberSecurity - MANAGER
Edit File: 2022_08_14_092633_create_sources_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. * * @return void */ public function up() { Schema::create('sources', function (Blueprint $table) { $table->id(); $table->string('name', 255)->nullable(); $table->boolean('isexpired')->default(false); $table->string('description', 500)->nullable(); $table->bigInteger('exchange_id')->unsigned()->nullable()->index(); $table->integer('old_id')->nullable(); $table->integer('created_by')->nullable(); $table->integer('updated_by')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('sources'); } };