Skip to content

Commit e5bbc86

Browse files
committed
DP-460 Upgrade to PHP 8.1 / Laravel 9
- Resolve conflict with db.schema component
1 parent fd2c318 commit e5bbc86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"minimum-stability": "dev",
3535
"prefer-stable": true,
3636
"require": {
37-
"dreamfactory/df-database": "~0.11"
37+
"dreamfactory/df-database": "~1.0"
3838
},
3939
"autoload": {
4040
"psr-4": {

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ServiceProvider extends \Illuminate\Support\ServiceProvider
2323
public function register()
2424
{
2525
// Add our database extensions.
26-
$this->app->resolving('db.schema', function (DbSchemaExtensions $db){
26+
$this->app->resolving('df.db.schema', function (DbSchemaExtensions $db){
2727
$db->extend('mysql', function ($connection){
2828
return new MySqlSchema($connection);
2929
});

0 commit comments

Comments
 (0)