6 lines
271 B
MySQL
6 lines
271 B
MySQL
|
create virtual table if not exists star_search using fts5(name, id);
|
||
|
insert into star_search(name, id) select name, id from stars;
|
||
|
|
||
|
create virtual table if not exists watch_search using fts5(title, id);
|
||
|
insert into watch_search(title, id) select title, id from watches;
|