Add topic,category,group,reltime rendering

This commit is contained in:
Kane York
2015-09-21 14:43:23 -07:00
parent 9145e32162
commit 9956b9833e
12 changed files with 115 additions and 33 deletions
+11
View File
@@ -0,0 +1,11 @@
SELECT
(SELECT id FROM badges LIMIT 1) as badge_id,
(SELECT id FROM categories LIMIT 1) as category_id,
(SELECT id FROM groups LIMIT 1) as group_id,
'<h2 class="fa fa-google"> hello</h2>' as html$html,
(SELECT id FROM posts LIMIT 1) as post_id,
'hello' as text$text,
(SELECT id FROM topics LIMIT 1) as topic_id,
(SELECT id FROM users LIMIT 1) as user_id,
TIMESTAMP 'yesterday' as reltime$time,
1 as end