File tree Expand file tree Collapse file tree 4 files changed +163
-111
lines changed
src/Symfony/Component/HttpFoundation
Tests/Session/Storage/Handler Expand file tree Collapse file tree 4 files changed +163
-111
lines changed Original file line number Diff line number Diff line change @@ -43,26 +43,7 @@ FrameworkBundle
43
43
HttpFoundation
44
44
--------------
45
45
46
- * The schema of the ` PdoSessionHandler ` to store sessions in a database changed.
47
- The following changes must be made to your ` session ` table:
48
-
49
- - Create a new ` sess_expiry ` column. In MySQL this would be:
50
-
51
- ``` sql
52
- ALTER TABLE ` session` ADD ` sess_expiry` INTEGER UNSIGNED NOT NULL ;
53
- ```
54
-
55
- - Migrate the old data to the ` sess_expiry` column. In MySQL this would be:
56
-
57
- ` ` ` sql
58
- UPDATE ` session` SET ` sess_expiry` = ` sess_time` + ` sess_lifetime` ;
59
- ` ` `
60
-
61
- - Remove the ` sess_time` and ` sess_lifetime` columns. In MySQL this would be:
62
-
63
- ` ` ` sql
64
- ALTER TABLE ` session` DROP COLUMN ` sess_time` , DROP COLUMN ` sess_lifetime` ;
65
- ` ` `
46
+ * The ` PdoSessionHandler ` option ` db_lifetime_col ` has been deprecated.
66
47
67
48
HttpKernel
68
49
-----------
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ CHANGELOG
8
8
disabling ` Range ` and ` Content-Length ` handling, switching to chunked encoding instead
9
9
* added the ` Cookie::fromString() ` method that allows to create a cookie from a
10
10
raw header string
11
- * PdoSessionHandler: [ BC BREAK ] removed the ` lifetime ` and ` timestamp ` columns in favor of ` expiry ` column
11
+ * PdoSessionHandler: Deprecated the the ` lifetime ` column
12
12
13
13
3.1.0
14
14
-----
You can’t perform that action at this time.
0 commit comments