summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-06-17 19:45:00 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-06-17 19:45:00 +0100
commit8f737d423e7721c77adfca0be8b7a9b5e57381ca (patch)
tree53e1aadfe2a7e51a2a233fcb7aff6301661064b7
parentImport all commits regardless of age (diff)
downloadgentoobrowse-api-8f737d423e7721c77adfca0be8b7a9b5e57381ca.tar.bz2
gentoobrowse-api-8f737d423e7721c77adfca0be8b7a9b5e57381ca.tar.xz
gentoobrowse-api-8f737d423e7721c77adfca0be8b7a9b5e57381ca.zip
Set storage type on commitid
-rw-r--r--gentoobrowse-api/db/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentoobrowse-api/db/schema.sql b/gentoobrowse-api/db/schema.sql
index 5adc042..f9bf489 100644
--- a/gentoobrowse-api/db/schema.sql
+++ b/gentoobrowse-api/db/schema.sql
@@ -38,6 +38,7 @@ CREATE TABLE changelog (
body text,
files text[] NOT NULL
);
+ALTER TABLE ONLY changelog ALTER COLUMN commitid SET STORAGE PLAIN;
ALTER TABLE changelog OWNER TO gentoo;
-- Name: TABLE bugs; Type: COMMENT; Schema: gentoobrowse; Owner: gentoo
COMMENT ON TABLE changelog IS 'Package repository change logs';