You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -50,6 +62,8 @@ You should update the following dependencies in your application's `composer.jso
50
62
51
63
</div>
52
64
65
+
In addition, you may remove the `doctrine/dbal` Composer dependency if you have previously added it to your application, as Laravel is no longer dependent on this package.
66
+
53
67
<aname="collections"></a>
54
68
### Collections
55
69
@@ -67,6 +81,53 @@ public function dump(...$args);
67
81
<aname="database"></a>
68
82
### Database
69
83
84
+
<aname="sqlite-minimum-version"></a>
85
+
#### SQLite 3.35.0+
86
+
87
+
**Likelihood Of Impact: High**
88
+
89
+
If your application is utilizing an SQLite database, SQLite 3.35.0 or greater is required.
90
+
91
+
<aname="modifying-columns"></a>
92
+
#### Modifying Columns
93
+
94
+
**Likelihood Of Impact: Medium**
95
+
96
+
When modifying a column, you must now explicitly include all the modifiers you want to keep on the column definition after it is changed. Any missing attributes will be dropped. For example, to retain the `unsigned`, `default`, and `comment` attributes, you must call each modifier explicitly when changing the column, even if those attributes have been assigned to the column by a previous migration:
97
+
98
+
```php
99
+
Schema::table('users', function (Blueprint $table) {
The `double` and `float` migration column types have been rewritten to be consistent across all databases.
110
+
111
+
The `double` column type now creates a `DOUBLE` equivalent column without total digits and places (digits after decimal point), which is the standard SQL syntax. Therefore, you may remove the arguments for `$total` and `$places`:
112
+
113
+
```php
114
+
$table->double('amount');
115
+
```
116
+
117
+
The `float` column type now creates a `FLOAT` equivalent column without total digits and places (digits after decimal point), but with an optional `$precision` specification to determine storage size as a 4-byte single-precision column or an 8-byte double-precision column. Therefore, you may remove the arguments for `$total` and `$places` and specify the optional `$precision` to your desired value and according to your database's documentation:
118
+
119
+
```php
120
+
$table->float('amount', precision: 53);
121
+
```
122
+
123
+
The `unsignedDecimal`, `unsignedDouble`, and `unsignedFloat` methods have been removed, as the unsigned modifier for these column types has been deprecated by MySQL, and was never standardized on other database systems. However, if you wish to continue using the deprecated unsigned attribute for these column types, you may chain the `unsigned` method onto the column's definition:
The `isGeometry` and `projection` column modifiers of the PostgreSQL grammar have been removed accordingly.
151
+
152
+
<aname="doctrine-dbal-removal"></a>
153
+
#### Doctrine DBAL Removal
154
+
155
+
**Likelihood Of Impact: Low**
156
+
157
+
The following list of Doctrine DBAL related classes and methods have been removed. Laravel is no longer dependent on this package and registering custom Doctrines types is no longer necessary for the proper creation and alteration of various column types that previously required custom types:
158
+
159
+
<divclass="content-list"markdown="1">
160
+
161
+
-`Illuminate\Database\Schema\Builder::$alwaysUsesNativeSchemaOperationsIfPossible` class property
0 commit comments