⚝
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 :
2021_01_24_103608_create_subscriptions_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSubscriptionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('subscriptions', function (Blueprint $table) { $table->bigIncrements('id'); $table->integer('user_id')->nullable(); $table->integer('current_package_id')->nullable(); $table->integer('next_package_id')->nullable(); $table->text('fields')->nullable(); $table->tinyInteger('status')->comment('0 - expired, 1 - active, 2 - cancelled, 3 - payment incomplete')->default(3); $table->timestamp('expire_date')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('subscriptions'); } }