forked from GNUsocial/gnu-social
[OpenID][DATABASE] Store UNIX timestamps as BIGINT
This commit is contained in:
parent
1870f38099
commit
20be1d179a
@ -504,7 +504,7 @@ class OpenIDPlugin extends Plugin
|
|||||||
'server_url' => array('type' => 'blob', 'not null' => true),
|
'server_url' => array('type' => 'blob', 'not null' => true),
|
||||||
'handle' => array('type' => 'varchar', 'length' => 191, 'not null' => true, 'default' => ''), // character set latin1,
|
'handle' => array('type' => 'varchar', 'length' => 191, 'not null' => true, 'default' => ''), // character set latin1,
|
||||||
'secret' => array('type' => 'blob'),
|
'secret' => array('type' => 'blob'),
|
||||||
'issued' => array('type' => 'int'),
|
'issued' => array('type' => 'int', 'size' => 'big'),
|
||||||
'lifetime' => array('type' => 'int'),
|
'lifetime' => array('type' => 'int'),
|
||||||
'assoc_type' => array('type' => 'varchar', 'length' => 64),
|
'assoc_type' => array('type' => 'varchar', 'length' => 64),
|
||||||
),
|
),
|
||||||
@ -514,7 +514,7 @@ class OpenIDPlugin extends Plugin
|
|||||||
array(
|
array(
|
||||||
'fields' => array(
|
'fields' => array(
|
||||||
'server_url' => array('type' => 'varchar', 'length' => 2047),
|
'server_url' => array('type' => 'varchar', 'length' => 2047),
|
||||||
'timestamp' => array('type' => 'int'),
|
'timestamp' => array('type' => 'int', 'size' => 'big'),
|
||||||
'salt' => array('type' => 'char', 'length' => 40),
|
'salt' => array('type' => 'char', 'length' => 40),
|
||||||
),
|
),
|
||||||
'unique keys' => array(
|
'unique keys' => array(
|
||||||
|
Loading…
Reference in New Issue
Block a user