Commit e6dfb3d
committed
This PR was submitted for the 7.4 branch but it was merged into the 6.4 branch instead.
Discussion
----------
[HttpFoundation][SQLSRV] Change column type from `TEXT` to `STRING`
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | None
| License | MIT
Using TEXT for the id column results in Doctrine setting the SQL column to VARCHAR(MAX) for SQL Server, which results in an SQL error since the primary key cannot be VARCHAR(MAX). This change enables Doctrine to recognize the length setting, which would otherwise be ignored for TEXT objects. This was described by the Doctrine Team here (doctrine/dbal#7126)
Commits
-------
8dcddb0 SQLSRV: Change column type from TEXT to STRING
File tree
1 file changed
+1
-1
lines changed- src/Symfony/Component/HttpFoundation/Session/Storage/Handler
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments