mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Update runtime-sessions-cookies.md
This commit is contained in:
@ -178,7 +178,7 @@ CREATE TABLE session
|
|||||||
例如,如果 `session.hash_function=sha256` ,
|
例如,如果 `session.hash_function=sha256` ,
|
||||||
应使用长度为64而不是40的char类型。
|
应使用长度为64而不是40的char类型。
|
||||||
|
|
||||||
Alternatively, this can be accomplished with the following migration:
|
或者,可以通过以下迁移完成:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user