X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/72aa68cdc990dde3d67b9c8827cd794e4c447968..05c560470887c86a30c82360d7be5caf0de1baa4:/widget/comments.sql

diff --git a/widget/comments.sql b/widget/comments.sql
index a152079..b805a2a 100644
--- a/widget/comments.sql
+++ b/widget/comments.sql
@@ -2,7 +2,6 @@ CREATE TABLE issues (
 	page       text        NOT NULL DEFAULT 'issue',
 	link       text,
 	subject    text,
-	body       text,
 	created    timestamptz          DEFAULT now(),
 	closed     timestamptz,
 	updated    timestamptz NOT NULL DEFAULT now(),
@@ -31,6 +30,4 @@ CREATE TABLE journal (
 
 CREATE OR REPLACE VIEW messages AS (
 	SELECT *, regexp_replace(page, '.*/', '')::int issue FROM comments
-		UNION ALL
-	SELECT concat(page,'/',id), body, created, author, NULL, id FROM issues
 );
