Skip to content

Commit

Permalink
Merge pull request #353 from sobhanattar/patch-6
Browse files Browse the repository at this point in the history
update migration
  • Loading branch information
Crinsane authored Sep 2, 2017
2 parents 22650c6 + 7ec5eb2 commit 095a260
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CreateShoppingcartTable extends Migration
*/
public function up()
{
Schema::create('shoppingcart', function (Blueprint $table) {
Schema::create(config('cart.database.table'), function (Blueprint $table) {
$table->string('identifier');
$table->string('instance');
$table->longText('content');
Expand All @@ -25,6 +25,6 @@ public function up()
*/
public function down()
{
Schema::drop('shoppingcart');
Schema::drop(config('cart.database.table'));
}
}

0 comments on commit 095a260

Please sign in to comment.