mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 18:10:53 +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);
|