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
commit4e8cf2a9028322af0874d9b07a7188467ab7356e (patch)
tree83028c4ad19494980308990153ad82f7c7846d84
parentPackage up some real sample data (diff)
downloadgentoobrowse-api-4e8cf2a9028322af0874d9b07a7188467ab7356e.tar.bz2
gentoobrowse-api-4e8cf2a9028322af0874d9b07a7188467ab7356e.tar.xz
gentoobrowse-api-4e8cf2a9028322af0874d9b07a7188467ab7356e.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;