mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
9 lines
296 B
MySQL
9 lines
296 B
MySQL
|
ALTER TABLE {$NAMESPACE}_user.phabricator_session
|
||
|
ADD sessionExpires INT UNSIGNED NOT NULL;
|
||
|
|
||
|
UPDATE {$NAMESPACE}_user.phabricator_session
|
||
|
SET sessionExpires = UNIX_TIMESTAMP() + (60 * 60 * 24 * 30);
|
||
|
|
||
|
ALTER TABLE {$NAMESPACE}_user.phabricator_session
|
||
|
ADD KEY `key_expires` (sessionExpires);
|