diff options
Diffstat (limited to 'bin/serve.fnl')
| -rw-r--r-- | bin/serve.fnl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 0948a83..a1d1737 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -43,6 +43,9 @@ expires_at TEXT NOT NULL ); + CREATE VIRTUAL TABLE IF NOT EXISTS products_search + USING fts5(title, short_description, name); + CREATE TABLE IF NOT EXISTS products( name TEXT PRIMARY KEY, creation_time TEXT NOT NULL, |
