add order totals
This commit is contained in:
parent
e8996fb98e
commit
1210597305
|
|
@ -22,7 +22,7 @@ class Header extends Component
|
|||
// $this->addLink('营销管理', admin_route('home.index'), equal_route('admin.promotions.index'));
|
||||
$this->addLink('插件管理', admin_route('plugins.index'), equal_route('admin.plugins.index'));
|
||||
$this->addLink('首页装修', admin_route('design.index'), equal_route('admin.design.index'));
|
||||
$this->addLink('系统设置', admin_route('home.index'), equal_route('admin.settings.index'));
|
||||
$this->addLink('系统设置', admin_route('settings.index'), equal_route('admin.settings.index'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class AddOrderTotals extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('order_totals', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('order_id');
|
||||
$table->string('code');
|
||||
$table->string('value');
|
||||
$table->string('title');
|
||||
$table->json('reference');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue