Skip to content

Commit

Permalink
Rename "dropTable" to "drop" in permalinks migration.
Browse files Browse the repository at this point in the history
Fixes issues with uninstalling or refreshing plugin.

Fixes #37
  • Loading branch information
Ben Thomson committed Feb 12, 2021
1 parent 1d0b485 commit 9ed9c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion updates/create_permalinks_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function up()
public function down()
{
if (Schema::hasTable('abweb_imageresize_permalinks') === true) {
Schema::dropTable('abweb_imageresize_permalinks');
Schema::drop('abweb_imageresize_permalinks');
}
}
}

0 comments on commit 9ed9c0e

Please sign in to comment.