PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Tax
/
Database
/
Migrations
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateTaxClassesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tax_classes', function (Blueprint $table) { $table->increments('id'); $table->string('name', 191)->index(); $table->string('slug', 191)->unique(); $table->timestamp('created_at')->useCurrent(); $table->timestamp('updated_at')->useCurrentOnUpdate()->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('tax_classes'); } }
[-] 2022_06_30_051457_create_tax_classes_table.php
[edit]
[+]
..
[-] 2022_06_30_051559_add_foreign_keys_to_tax_rates_table.php
[edit]
[-] 2022_06_30_051511_create_tax_rates_table.php
[edit]