⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
berlin-cleantek
/
core
/
database
/
migrations
/
View File Name :
2021_06_13_161938_create_orders_table.php
<?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->text('cart'); $table->integer('user_id'); $table->text('user_info'); $table->string('order_number'); $table->string('method'); $table->string('currency_name'); $table->string('currency_value'); $table->string('currency_sign'); $table->string('txn_id'); $table->integer('payment_status')->default(0); $table->integer('order_status')->default(0); $table->double('total')->default(0); $table->integer('qty')->default(0); $table->text('shipping_charge_info')->nullable(); $table->string('invoice_number')->nullable(); // shipping $table->string('shipping_name')->nullable(); $table->string('shipping_email')->nullable(); $table->string('shipping_address')->nullable(); $table->string('shipping_number')->nullable(); $table->string('shipping_country')->nullable(); $table->string('shipping_state')->nullable(); $table->string('shipping_zip')->nullable(); // billing $table->string('billing_name')->nullable(); $table->string('billing_email')->nullable(); $table->string('billing_address')->nullable(); $table->string('billing_number')->nullable(); $table->string('billing_country')->nullable(); $table->string('billing_state')->nullable(); $table->string('billing_zip')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('orders'); } }