mirror of
https://github.com/jlelse/GoBlog
synced 2024-07-05 23:12:58 +00:00
3 lines
410 B
SQL
3 lines
410 B
SQL
drop view view_posts_with_title;
|
|
create view view_posts_with_title as select id, path, title, content, published, updated, blog, section from (select p.rowid as id, p.path as path, pp.value as title, content, published, updated, blog, section from posts p left outer join (select * from post_parameters where parameter = 'title') pp on p.path = pp.path);
|
|
-- insert into posts_fts(posts_fts) values ('rebuild'); |