Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/database/migrations/2021_12_21_000074_create_license_table.php
Назад
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateLicenseTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::dropIfExists('license'); Schema::create('license', function (Blueprint $table) { $table->bigIncrements('id'); $table->bigInteger('customer_id')->unsigned(); $table->foreign('customer_id')->references('id')->on('crm_customers'); $table->string('contract_number')->nullable(); $table->integer('support_site_id')->nullable(); $table->bigInteger('product_id')->unsigned(); $table->foreign('product_id')->references('id')->on('products'); $table->datetime('start_date')->nullable(); $table->datetime('end_date')->nullable(); $table->integer('quantity')->nullable(); $table->string('account_manager')->nullable(); $table->string('other_info')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('license'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка