diff options
| author | unwox <me@unwox.com> | 2025-09-07 20:22:47 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-09-07 22:16:39 +0600 |
| commit | 88d1725520afde9fe10a3daa1ad5c1c0a552f041 (patch) | |
| tree | 04069377658ac0b6c2fa903e0d2b42e8f2221031 /bin | |
| parent | 4b0373bb42e21153f63d33f3546be9095d495f27 (diff) | |
small fixes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/serve.fnl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index a76de08..327060d 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -52,13 +52,17 @@ CREATE TABLE IF NOT EXISTS products( name TEXT PRIMARY KEY, creation_time TEXT NOT NULL, + position INTEGER NOT NULL DEFAULT 0, + published BOOLEAN NOT NULL DEFAULT false, title TEXT NOT NULL, type TEXT NOT NULL, packaging TEXT NOT NULL, description TEXT, short_description TEXT NOT NULL, - position INTEGER NOT NULL DEFAULT 0, - published BOOLEAN NOT NULL DEFAULT false, + year INTEGER, + season TEXT, + region TEXT, + recommendations TEXT, price_per REAL, stock REAL, vendor TEXT, |
