OwlCyberSecurity - MANAGER
Edit File: 2022_12_14_140149_create_invoice_descriptions_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('invoice_descriptions', function (Blueprint $table) { $table->id(); $table->bigInteger('invoice_id')->unsigned()->nullable(); $table->bigInteger('invoice_item_id')->unsigned()->nullable(); $table->bigInteger('logistics_id')->unsigned()->nullable(); $table->string('description', 1000)->nullable(); $table->integer('level'); $table->bigInteger('agent_id')->unsigned()->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('invoice_descriptions'); } };