KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/account.appointkrypt.com/database/migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/account.appointkrypt.com/database/migrations/2023_10_30_095152_create_orders_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.
     */
    public function up(): void
    {
        if(!Schema::hasTable('orders'))
        {
            Schema::create('orders', function (Blueprint $table) {
                $table->bigIncrements('id');
                $table->string('order_id', 100)->unique('order_order_id_unique');
                $table->string('name', 100)->nullable();
                $table->string('email', 100)->nullable();
                $table->string('card_number', 10)->nullable();
                $table->string('card_exp_month', 10)->nullable();
                $table->string('card_exp_year', 10)->nullable();
                $table->string('plan_name', 100);
                $table->integer('plan_id');
                $table->double('price', 8, 2);
                $table->string('price_currency', 10);
                $table->string('txn_id', 100);
                $table->string('payment_status', 100);
                $table->string('payment_type', 100);
                $table->string('receipt')->nullable();
                $table->integer('user_id')->default(0);
                $table->timestamps();
            });
        }
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::dropIfExists('orders');
    }
};

Anon7 - 2021