
Dne 12. 11. 19 v 10:03 Jiri Vlasak napsal(a):
On Mon, Nov 11, 2019 at 01:31:36PM +0100, Jaroslav Klapalek wrote:
--- coffee_db.sql | 3 ++- templates/user.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/coffee_db.sql b/coffee_db.sql index 5c65d11..23011af 100644 --- a/coffee_db.sql +++ b/coffee_db.sql @@ -16,7 +16,8 @@ insert or ignore into flavors values ("cappuccino", 1), ("latte macchiato", 4), ("Club-Mate 0,5 l", 5), - ("Club-Mate 0,33 l", 6) + ("Club-Mate 0,33 l", 6), + ("tea", 7) As this is python, I suppose to add yet another `,` at the end to eliminate awkward -++ patches, ie:
- ("Club-Mate 0,33 l", 6) + ("Club-Mate 0,33 l", 6), + ("tea", 7), As this is not Python, but SQL, we should probably leave it this way. :-) (But maybe SQL can handle this as well.)
; Why this?
BTW, what is with the tea? How is it related to coffee machine or payment system?
Just to show that we also like our schedule-oriented coworkers. :-)
jiri
J.