PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Shipping
/
Database
/
Migrations
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateShippingZoneShippingClassesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('shipping_zone_shipping_classes', function (Blueprint $table) { $table->increments('id'); $table->integer('shipping_zone_id')->unsigned()->index(); $table->string('shipping_class_slug', 120)->nullable()->index(); $table->decimal('cost', 16, 8)->nullable()->index(); $table->string('cost_type', 50)->nullable()->index(); $table->timestamp('created_at')->useCurrent(); $table->timestamp('updated_at')->useCurrentOnUpdate()->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('shipping_zone_shipping_classes'); } }
[-] 2022_07_22_064243_add_foreign_keys_to_shipping_zone_geolocales_table.php
[edit]
[+]
..
[-] 2022_07_22_064240_create_shipping_zone_shipping_classes_table.php
[edit]
[-] 2022_07_22_064240_create_shipping_zone_geolocales_table.php
[edit]
[-] 2022_07_22_064237_create_shipping_methods_table.php
[edit]
[-] 2022_07_22_064243_add_foreign_keys_to_shipping_zone_shipping_methods_table.php
[edit]
[-] 2022_07_22_064240_create_shipping_zone_shipping_methods_table.php
[edit]
[-] 2022_07_22_064239_create_shipping_zones_table.php
[edit]
[-] 2022_07_22_064238_create_shipping_classes_table.php
[edit]
[-] 2022_07_22_064242_add_foreign_keys_to_shipping_zone_shipping_classes_table.php
[edit]