Doc
This commit is contained in:
parent
7230ca607d
commit
8dcaac35b7
2 changed files with 301 additions and 298 deletions
|
|
@ -54,10 +54,12 @@ As root:
|
||||||
|
|
||||||
* Rust patterns: https://github.com/rust-unofficial/patterns
|
* Rust patterns: https://github.com/rust-unofficial/patterns
|
||||||
* Rust cheat Sheet: https://cheats.rs/
|
* Rust cheat Sheet: https://cheats.rs/
|
||||||
|
* HTML Validation Service: https://validator.w3.org/
|
||||||
|
* Site analysis: https://pagespeed.web.dev/
|
||||||
|
* Open-Source UI: https://uiverse.io/
|
||||||
|
|
||||||
# Useful tools
|
# Useful tools
|
||||||
|
|
||||||
Benchmarking: https://crates.io/crates/oha
|
HTTP benchmarking and stress tool: https://crates.io/crates/oha
|
||||||
HTTP API tool: https://www.usebruno.com/
|
HTTP API tool: https://www.usebruno.com/
|
||||||
GUI Database client: https://dbeaver.io/
|
GUI Database client: https://dbeaver.io/
|
||||||
|
|
|
||||||
|
|
@ -184,13 +184,14 @@ CREATE TABLE [ShoppingEntry] (
|
||||||
[id] INTEGER PRIMARY KEY,
|
[id] INTEGER PRIMARY KEY,
|
||||||
[user_id] INTEGER NOT NULL,
|
[user_id] INTEGER NOT NULL,
|
||||||
-- The linked ingredient can be deleted or a custom entry can be manually added.
|
-- The linked ingredient can be deleted or a custom entry can be manually added.
|
||||||
-- In both cases [name], [quantity_value] and [quantity_unit] are used to display
|
-- In both cases [name], [quantity_value], [quantity_unit] and [Servings] are used to display
|
||||||
-- the entry instead of [Ingredient] data.
|
-- the entry instead of [Ingredient] data.
|
||||||
[ingredient_id] INTEGER,
|
[ingredient_id] INTEGER,
|
||||||
[recipe_scheduled_id] INTEGER, -- Can be null when manually added.
|
[recipe_scheduled_id] INTEGER, -- Can be null when manually added.
|
||||||
|
|
||||||
[is_checked] INTEGER NOT NULL DEFAULT FALSE,
|
[is_checked] INTEGER NOT NULL DEFAULT FALSE,
|
||||||
|
|
||||||
|
-- The following four fields contain data only if [recipe_scheduled_id] is NULL.
|
||||||
[name] TEXT NOT NULL DEFAULT '',
|
[name] TEXT NOT NULL DEFAULT '',
|
||||||
[quantity_value] REAL,
|
[quantity_value] REAL,
|
||||||
[quantity_unit] TEXT NOT NULL DEFAULT '',
|
[quantity_unit] TEXT NOT NULL DEFAULT '',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue