!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/database/migrations/   drwxr-xr-x
Free 13.1 GB of 57.97 GB (22.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     2020_10_27_174959_create_orders_table.php (1.6 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

use Illuminate\Database\Migrations\Migration;
use 
Illuminate\Database\Schema\Blueprint;
use 
Illuminate\Support\Facades\Schema;

class 
CreateOrdersTable extends Migration
{
    
/**
     * Run the migrations.
     *
     * @return void
     */
    
public function up()
    {
        
Schema::create('orders', function (Blueprint $table) {
            
$table->id();
            
$table->string('order_no')->nullable();
            
$table->string('transaction_id')->nullable();
            
$table->unsignedBigInteger('category_id')->nullable(); //payment getway id
            
$table->unsignedBigInteger('customer_id')->nullable();
            
$table->unsignedBigInteger('user_id');
           
            
$table->integer('order_type')->default(0);
            
$table->integer('payment_status')->default(2);
            
$table->string('status')->default(0);
            
$table->double('tax')->default(0);
            
$table->double('shipping')->default(0);
            
$table->double('total')->default(0);
            
            
$table->timestamps();

            
$table->foreign('customer_id')
            ->
references('id')->on('customers')
            ->
onDelete('cascade'); 

            
$table->foreign('user_id')
            ->
references('id')->on('users')
            ->
onDelete('cascade'); 
            
            
$table->foreign('category_id')
            ->
references('id')->on('categories')
            ->
onDelete('cascade'); 

            
        });
      
    }

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

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0382 ]--