Skip to content

Commit

Permalink
Remove call to remove schema method
Browse files Browse the repository at this point in the history
  • Loading branch information
oddvalue committed Jun 6, 2024
1 parent 93d4dc0 commit b889873
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/LaravelDraftsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ public function configurePackage(Package $package): void

public function packageRegistered()
{
if (method_exists($this->app['db']->connection()->getSchemaBuilder(), 'useNativeSchemaOperationsIfPossible')) {
Schema::useNativeSchemaOperationsIfPossible();
}

$this->app->singleton(LaravelDrafts::class, function () {
return new LaravelDrafts();
});
Expand Down

0 comments on commit b889873

Please sign in to comment.