OwlCyberSecurity - MANAGER
Edit File: 2022_08_14_092543_create_exchanges_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('exchanges', function (Blueprint $table) { $table->id(); $table->string('name', 255)->nullable(); $table->decimal('value' )->nullable(); $table->string('api_value')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('exchanges'); } };