// SYSTEM PANEL //
[ROOT]
/
mnt
/
pleskStorage
/
vhosts
/
kodsolutions.net
/
subdomains
/
syaaraa.kodsolutions.net
/
database
/
migrations
[ PARENT ]
EDIT :: 2024_03_06_162953_create_packages_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePackagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('packages', function (Blueprint $table) { $table->id(); $table->boolean('active')->default(0)->nullable(); $table->integer('position')->default(0)->nullable(); //rank $table->longText('image')->nullable(); $table->longText('title')->nullable(); $table->longText('sub_title')->nullable(); $table->longText('description')->nullable(); $table->float('price')->nullable(); $table->float('discount')->nullable(); $table->float('total_price')->nullable(); $table->float('vat_value')->nullable(); $table->float('vat')->nullable(); $table->enum('type', ['owner', 'customer', 'marketer', 'developer', 'office'])->nullable(); $table->integer('duration')->default(0)->nullable(); //no days $table->string('slug')->default('01')->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('packages'); } }
SAVE
CANCEL