Update 2022_02_06_194000_create_shoppingcart_items_table.php

This commit is contained in:
Patrick
2022-02-06 23:11:47 +01:00
committed by GitHub
parent 93b9b44f49
commit 3eb034397f

View File

@@ -11,7 +11,7 @@ class CreateShoppingcartItemsTable extends Migration
*/
public function up()
{
Schema::create(Config::get('cart.database.table'), function (Blueprint $table) {
Schema::create(Config::get('cart.database.tables.cart_item'), function (Blueprint $table) {
$table->timestamps();
});
}
@@ -21,6 +21,6 @@ class CreateShoppingcartItemsTable extends Migration
*/
public function down()
{
Schema::drop(Config::get('cart.database.table'));
Schema::drop(Config::get('cart.database.tables.cart_item'));
}
}