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