summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-17 16:12:49 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-25 21:25:33 +0100
commit0ce307bd3397d15e1a146e2487959a558d58def6 (patch)
tree83028c4ad19494980308990153ad82f7c7846d84
parentPackage up some real sample data (diff)
downloadgentoobrowse-api-0ce307bd3397d15e1a146e2487959a558d58def6.tar.bz2
gentoobrowse-api-0ce307bd3397d15e1a146e2487959a558d58def6.tar.xz
gentoobrowse-api-0ce307bd3397d15e1a146e2487959a558d58def6.zip
Categories require a name
-rw-r--r--gentoobrowse-api/db/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/db/schema.sql b/gentoobrowse-api/db/schema.sql
index a2e66c4..fd45411 100644
--- a/gentoobrowse-api/db/schema.sql
+++ b/gentoobrowse-api/db/schema.sql
@@ -262,7 +262,7 @@ ALTER OPERATOR gentoobrowse.~ (text[], filterspec[]) OWNER TO gentoo;
-- Name: categories; Type: TABLE; Schema: gentoobrowse; Owner: gentoo; Tablespace:
CREATE TABLE categories (
categoryid integer NOT NULL,
- name text,
+ name text NOT NULL,
summary text
);
ALTER TABLE categories OWNER TO gentoo;