Файловый менеджер - Редактировать - /home/easybachat/hisabat365.com/database/migrations/2018_11_13_141249_create_transactions_table.php
Ðазад
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTransactionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('transactions', function (Blueprint $table) { $table->bigIncrements('id'); $table->date('trans_date'); $table->bigInteger('account_id'); $table->bigInteger('chart_id'); $table->string('type',10); $table->string('dr_cr',2); $table->decimal('amount',10,2); $table->decimal('base_amount',10,2)->nullable(); $table->bigInteger('payer_payee_id')->nullable(); $table->bigInteger('invoice_id')->nullable(); $table->bigInteger('purchase_id')->nullable(); $table->bigInteger('purchase_return_id')->nullable(); $table->bigInteger('project_id')->nullable(); $table->bigInteger('payment_method_id'); $table->string('reference',50)->nullable(); $table->text('attachment')->nullable(); $table->text('note')->nullable(); $table->bigInteger('company_id'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('transactions'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.01 |
proxy
|
phpinfo
|
ÐаÑтройка