diff --git a/upgrade.md b/upgrade.md index bc8d7b157c1..bd88ba88ced 100644 --- a/upgrade.md +++ b/upgrade.md @@ -177,6 +177,19 @@ The following list of Doctrine DBAL related classes and methods have been remove In addition, registering custom Doctrine types via `dbal.types` in your application's `database` configuration file is no longer required. + +#### Deprecated Schema Methods + +**Likelihood Of Impact: Very Low** + +The deprecated `Schema::getAllTables()`, `Schema::getAllViews()`, and `Schema::getAllTypes()` methods have been removed in favor of new `Schema::getTables()`, `Schema::getViews()`, and `Schema::getTypes()` methods. + +When using PostgreSQL, none of the new schema methods will accept a three-part reference (e.g. `database.schema.table`). Therefore, you should use `connection()` to declare the database instead: + +```php +Schema::connection('database')->hasTable('schema.table'); +``` + #### Schema Builder `getColumnType()` Method