Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/database/migrations/2019_03_20_113618_create_invoice_items_table.php
Ðазад
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateInvoiceItemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('invoice_items', function (Blueprint $table) { $table->bigIncrements('id'); $table->bigInteger('invoice_id'); $table->bigInteger('item_id'); $table->decimal('quantity',10,2); $table->decimal('unit_cost',10,2); $table->decimal('discount',10,2); $table->string('tax_method',10)->nullable(); $table->bigInteger('tax_id')->nullable(); $table->decimal('tax_amount',10,2)->nullable(); $table->decimal('sub_total',10,2); $table->bigInteger('company_id'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('invoice_items'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка