OwlCyberSecurity - MANAGER
Edit File: 2022_08_15_112243_create_device_logs_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::connection('mysql_log')->create('device_logs', function (Blueprint $table) { $table->id(); $table->text('param1')->nullable(); $table->text('param2')->nullable(); $table->text('param3')->nullable(); $table->text('param4')->nullable(); $table->text('param5')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('device_logs'); } };