Файловый менеджер - Редактировать - /home/clickysoft/public_html/furfotos.clickysoft.net/database/migrations/2024_06_25_111960_subscription_inapp_purchases.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('subscription_inapp_purchases', function (Blueprint $table) { $table->id(); $table->unsignedBigInteger('subscription_plan_id'); $table->foreign('subscription_plan_id')->on('subscription_inapp_purchase_plans')->references('id')->onDelete('cascade'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->on('users')->references('id')->onDelete('cascade'); $table->unsignedBigInteger('payment_id')->nullable(); $table->foreign('payment_id')->on('payments')->references('id')->onDelete('cascade'); $table->string('device_type')->nullable(); $table->date('next_billing_date')->nullable(); $table->json('purchase_object')->nullable(); $table->enum('purchase_type', ['subscription', 'product'])->nullable(); $table->boolean('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { // } };
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка