From eaa0a2a0828037227312970668eba7bf951b4049 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 23 Dec 2012 00:21:57 +0100 Subject: o Storing the raw bytes with the parsed data from Jenkins. --- src/main/resources/ddl-core.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/resources/ddl-core.sql') diff --git a/src/main/resources/ddl-core.sql b/src/main/resources/ddl-core.sql index a244236..376ca9f 100644 --- a/src/main/resources/ddl-core.sql +++ b/src/main/resources/ddl-core.sql @@ -8,6 +8,16 @@ DROP TABLE IF EXISTS person_badge; DROP TABLE IF EXISTS person_jenkins_user; DROP TABLE IF EXISTS person; DROP TABLE IF EXISTS table_poller_status; +DROP TABLE IF EXISTS file; + +CREATE TABLE file ( + uuid CHAR(36) NOT NULL, + created_date TIMESTAMP NOT NULL, + url VARCHAR(1000) NOT NULL, + content_type VARCHAR(100) NOT NULL, + data BYTEA, + CONSTRAINT pk_file PRIMARY KEY (uuid) +); CREATE TABLE table_poller_status ( poller_name VARCHAR(100) NOT NULL, -- cgit v1.2.3