Skip to content

Commit

Permalink
Fix table name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Junges committed Mar 15, 2020
1 parent 2cbece9 commit 5127d21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class AddDescriptionToTagsTable extends Migration {

public function up()
{
Schema::table('tags', function ($table) {
Schema::table('tagging_tags', function ($table) {
$table->text('description')->nullable();
});

Expand All @@ -16,7 +16,7 @@ public function up()

public function down()
{
Schema::table('tags', function ($table) {
Schema::table('tagging_tags', function ($table) {
$table->dropColumn('description');
});
}
Expand Down

0 comments on commit 5127d21

Please sign in to comment.