Update 2018_12_23_120000_create_shoppingcart_table.php

This commit is contained in:
Patrick
2022-02-06 23:11:32 +01:00
committed by GitHub
parent 712277f225
commit 93b9b44f49

View File

@@ -11,7 +11,7 @@ class CreateShoppingcartTable extends Migration
*/
public function up()
{
Schema::create(Config::get('cart.database.table'), function (Blueprint $table) {
Schema::create(Config::get('cart.database.tables.cart'), function (Blueprint $table) {
$table->string('identifier');
$table->string('instance');
$table->longText('content');
@@ -26,6 +26,6 @@ class CreateShoppingcartTable extends Migration
*/
public function down()
{
Schema::drop(Config::get('cart.database.table'));
Schema::drop(Config::get('cart.database.tables.cart'));
}
}