mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-20 06:15:11 +00:00
Update 2022_02_06_194000_create_shoppingcart_items_table.php
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user