{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu//database//migrations//2022_03_15_105838_add_shipping_to_carts_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddShippingToCartsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('carts', function (Blueprint $table) { $table->float('shipping_cost')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('carts', function (Blueprint $table) { $table->dropColumn('shipping_cost'); }); } }
./Ninja\.