Restructuring

Added codecov
This commit is contained in:
Patrick Henninger
2018-12-28 17:00:55 +01:00
parent 1190d72b52
commit 423e2b7c3f
6 changed files with 27 additions and 8 deletions

View File

@@ -0,0 +1,30 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateShoppingcartTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::create(config('cart.database.table'), function (Blueprint $table) {
$table->string('identifier');
$table->string('instance');
$table->longText('content');
$table->nullableTimestamps();
$table->primary(['identifier', 'instance']);
});
}
/**
* Reverse the migrations.
*/
public function down()
{
Schema::drop(config('cart.database.table'));
}
}