From: CiaranG Date: Thu, 5 Mar 2009 16:15:29 +0000 (+0000) Subject: PostgreSQL - the ts field in the OAuth nonce table needed to be an integer. (fix... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97bc187e3132663ceadd2a779ce43ca67a7f3a02;hp=a7efd4ff556bbf6bafcfc81db758ab192b8802ad;p=quix0rs-gnu-social.git PostgreSQL - the ts field in the OAuth nonce table needed to be an integer. (fix submitted by oxygene) --- diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index 4ef2330f40..2d83f784a2 100644 --- a/db/laconica_pg.sql +++ b/db/laconica_pg.sql @@ -181,7 +181,7 @@ create table nonce ( consumer_key varchar(255) not null /* comment 'unique identifier, root URL' */, tok char(32) not null /* comment 'identifying value' */, nonce char(32) not null /* comment 'nonce' */, - ts timestamp not null /* comment 'timestamp sent' */, + ts integer not null /* comment 'timestamp sent' values are epoch, and only used internally */, created timestamp not null default CURRENT_TIMESTAMP /* comment 'date this record was created' */, modified timestamp /* comment 'date this record was modified' */,