OwlCyberSecurity - MANAGER
Edit File: 2022_08_14_095642_create_invoice_items_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_items', function (Blueprint $table) { $table->id(); $table->string('name', 400)->nullable(); $table->string('link', 800); $table->bigInteger('cost'); $table->integer('count'); $table->double('firstweight')->nullable(); $table->string('description', 1000)->nullable(); $table->tinyInteger('ischecked'); $table->tinyInteger('isauction'); $table->tinyInteger('isapproved'); $table->tinyInteger('isbuy'); $table->tinyInteger('isteammate')->nullable(); $table->string('unapprovedescription', 1000)->nullable(); $table->double('finalweight')->nullable(); $table->bigInteger('transportprice')->nullable(); $table->bigInteger('itemprice')->nullable(); $table->bigInteger('exchangevalue')->nullable(); $table->bigInteger('brokerwageprice')->nullable(); $table->bigInteger('singleitemfullprice')->nullable(); $table->string('prefactorcomment', 1000)->nullable(); $table->string('preordercomment', 1000)->nullable(); $table->bigInteger('buybroker')->nullable(); $table->bigInteger('eachkgvalue')->nullable(); $table->bigInteger('AdditionalPerRow')->nullable(); $table->bigInteger('minweightval')->nullable(); $table->string('image', 1000)->nullable(); $table->integer('apistatus')->nullable(); $table->bigInteger('invoice_id')->unsigned(); $table->bigInteger('exchange_id')->unsigned()->nullable(); $table->bigInteger('region_id')->unsigned()->nullable(); $table->integer('old_id')->nullable(); $table->tinyInteger('breakable'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('invoice_items'); } };