Skip to content

Commit 51ac330

Browse files
committed
Corrected table name
1 parent 699738a commit 51ac330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2020_07_03_155026_create_polymorphic_entity_attribute_values_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function up()
2020
$table->timestamps();
2121
});
2222

23-
Schema::create(config('laravel-polymorphic-eav.entity_attribute_values'), function (Blueprint $table) {
23+
Schema::create(config('laravel-polymorphic-eav.value-table'), function (Blueprint $table) {
2424
$table->bigIncrements('id');
2525
$table->unsignedInteger('attributable_id');
2626
$table->string('attributable_type');
@@ -40,6 +40,6 @@ public function up()
4040
public function down()
4141
{
4242
Schema::dropIfExists(config('laravel-polymorphic-eav.attribute-table'));
43-
Schema::dropIfExists(config('laravel-polymorphic-eav.entity_attribute_values'));
43+
Schema::dropIfExists(config('laravel-polymorphic-eav.value-table'));
4444
}
4545
}

0 commit comments

Comments
 (0)