⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.148
Server IP:
63.250.38.6
Server:
Linux premium90.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nnvixbtb
/
www
/
core
/
database
/
migrations
/
View File Name :
2020_04_18_162850_create_products_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateProductsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('products', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('title')->nullable(); $table->string('slug')->nullable(); $table->integer('language_id')->default(0); $table->integer('stock')->nullable(); $table->string('sku')->nullable(); $table->integer('category_id')->nullable(); $table->text('tags')->nullable(); $table->string('feature_image')->nullable(); $table->text('summary')->nullable(); $table->text('description')->nullable(); $table->decimal('current_price', 11, 2)->default(0); $table->decimal('previous_price', 11, 2)->default(0); $table->integer('status')->default(1); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('products'); } }