From d463741d1db53b5bcb82923caa44041c6614a60e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 12 Jun 2016 17:44:26 +0100 Subject: commitid can be a straight char(40), it won't vary --- gentoobrowse-api/db/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/db/schema.sql b/gentoobrowse-api/db/schema.sql index 532ebbb..5adc042 100644 --- a/gentoobrowse-api/db/schema.sql +++ b/gentoobrowse-api/db/schema.sql @@ -30,7 +30,7 @@ SET default_with_oids = false; CREATE TABLE changelog ( changeid integer NOT NULL, repoid integer NOT NULL, - commitid text NOT NULL, + commitid character(40) NOT NULL, committime timestamp without time zone NOT NULL, authorname text NOT NULL, authoremail text NOT NULL, -- cgit v1.2.3