diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-23 00:21:57 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-23 00:21:57 +0100 |
commit | eaa0a2a0828037227312970668eba7bf951b4049 (patch) | |
tree | eced0d4f6c1b53abe0b2af527ecba3bd493684cd /src/main/resources | |
parent | 78e7933c0af1d11d9476c5ee213c64ad87066f55 (diff) | |
download | esper-testing-eaa0a2a0828037227312970668eba7bf951b4049.tar.gz esper-testing-eaa0a2a0828037227312970668eba7bf951b4049.tar.bz2 esper-testing-eaa0a2a0828037227312970668eba7bf951b4049.tar.xz esper-testing-eaa0a2a0828037227312970668eba7bf951b4049.zip |
o Storing the raw bytes with the parsed data from Jenkins.
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/ddl-core.sql | 10 |
1 files changed, 10 insertions, 0 deletions
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, |