 
 
 --
--- Name: entries_author_fkey; Type: FK CONSTRAINT; Schema: atom; Owner: axelrod
---
-
---ALTER TABLE ONLY entries
---    ADD CONSTRAINT entries_author_fkey FOREIGN KEY (author) REFERENCES people(name) ON UPDATE CASCADE ON DELETE SET NULL;
-
-
---
--- Name: entries_category_fkey; Type: FK CONSTRAINT; Schema: atom; Owner: axelrod
---
-
---ALTER TABLE ONLY entries
---    ADD CONSTRAINT entries_category_fkey FOREIGN KEY (category) REFERENCES categories(term) ON UPDATE CASCADE;
-
-
---
--- Name: entries_content_fkey; Type: FK CONSTRAINT; Schema: atom; Owner: axelrod
---
-
---ALTER TABLE ONLY entries
---    ADD CONSTRAINT entries_content_fkey FOREIGN KEY (content) REFERENCES content(id) ON UPDATE CASCADE ON DELETE SET NULL;
-
-
---
--- Name: entries_link_fkey; Type: FK CONSTRAINT; Schema: atom; Owner: axelrod
---
-
---ALTER TABLE ONLY entries
---    ADD CONSTRAINT entries_link_fkey FOREIGN KEY (link) REFERENCES links(id) ON UPDATE CASCADE ON DELETE SET NULL;
-
-
---
 -- Name: feeds_link_fkey; Type: FK CONSTRAINT; Schema: atom; Owner: axelrod
 --
 



--
-- Name: entries; Type: TABLE; Schema: atom; Owner: axelrod; Tablespace: 
--

CREATE TABLE entries (
    id character varying NOT NULL,
    title character varying NOT NULL,
    updated timestamp with time zone DEFAULT now() NOT NULL,
    author character varying,
    content integer,
    link integer,
    category character varying,
    published timestamp with time zone DEFAULT now(),
    rights text
);


--
-- Name: TABLE entries; Type: COMMENT; Schema: atom; Owner: axelrod
--

COMMENT ON TABLE entries IS 'Source currently not supported.';


--



--
-- Name: feeds_pkey; Type: CONSTRAINT; Schema: atom; Owner: axelrod; Tablespace: 
--

