aboutsummaryrefslogtreecommitdiffstats
path: root/install/database.sql
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-05 19:34:56 -0700
committerfriendica <info@friendica.com>2013-05-05 19:34:56 -0700
commit6f04a7e07033c8ca06df47defe1839d5763f1ee6 (patch)
tree8ea9d590d84335ef5eaa60a66eb1a707c46276ff /install/database.sql
parentef07b71bc7972f79a7e5c1001a8c31d75b0cca68 (diff)
downloadvolse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.tar.gz
volse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.tar.bz2
volse-hubzilla-6f04a7e07033c8ca06df47defe1839d5763f1ee6.zip
minor fixes related to postgres development
Diffstat (limited to 'install/database.sql')
-rw-r--r--install/database.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/database.sql b/install/database.sql
index ab60678e4..720c79402 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -768,7 +768,7 @@ CREATE TABLE IF NOT EXISTS `session` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`sid` char(255) NOT NULL,
`data` text NOT NULL,
- `expire` int(10) unsigned NOT NULL,
+ `expire` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `sid` (`sid`),
KEY `expire` (`expire`)
@@ -832,7 +832,7 @@ CREATE TABLE IF NOT EXISTS `tokens` (
`id` varchar(40) NOT NULL,
`secret` text NOT NULL,
`client_id` varchar(20) NOT NULL,
- `expires` int(11) NOT NULL,
+ `expires` bigint(20) unsigned NOT NULL,
`scope` varchar(200) NOT NULL,
`uid` int(11) NOT NULL,
PRIMARY KEY (`id`),