diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-16 13:39:00 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-23 18:02:15 +0300 |
commit | f2a31151576d00a6452bdfa8646adf6ba892b526 (patch) | |
tree | 1d855d397be51e161a44c6ebc7b48d25bac59236 /db_structure.xml | |
parent | 0885bd4ee543d8d9e4f3e561b44fcc90376dd45a (diff) |
Certain tokens can expire
However due to the nature of what we store in the token (encrypted
passwords etc). We can't just delete the tokens because that would make
the oauth refresh useless.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml index 583e9bb8522..72d7ebc647d 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -1181,6 +1181,15 @@ <notnull>false</notnull> </field> + <field> + <name>expires</name> + <type>integer</type> + <default></default> + <notnull>false</notnull> + <unsigned>true</unsigned> + <length>4</length> + </field> + <index> <name>authtoken_token_index</name> <unique>true</unique> |