mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
762ace810d
Summary: Added ttl field to files. Gabage collect files with expired ttl Test Plan: created file with a ttl. Let garbage collector run Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4987
3 lines
103 B
SQL
3 lines
103 B
SQL
ALTER TABLE {$NAMESPACE}_file.file
|
|
ADD ttl INT(10) UNSIGNED DEFAULT NULL,
|
|
ADD KEY key_ttl (ttl);
|