Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Maynne authored and Johnny Maynne committed Dec 7, 2023
1 parent a0496b4 commit dc4b97c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function up(): void
{
Schema::table(config('laravel-attributes.tables.name', 'attributes'), function (Blueprint $table) {
$table->renameColumn('attributable', 'attributable_type');
$this->index(['attributable_type', 'attributable_id']);
$table->index(['attributable_type', 'attributable_id']);
});
}

Expand All @@ -23,7 +23,7 @@ public function down(): void
{
Schema::table(config('laravel-attributes.tables.name', 'attributes'), function (Blueprint $table) {
$table->renameColumn('attributable_type', 'attributable');
$this->index(['attributable_type', 'attributable_id']);
$table->index(['attributable_type', 'attributable_id']);
});
}
};

0 comments on commit dc4b97c

Please sign in to comment.