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