CREATE TABLE IF NOT EXISTS tea (
  id serial PRIMARY KEY,
  teaname VARCHAR(128) NOT NULL,
  rfidcode VARCHAR(128) NOT NULL,
  watertemp INT,
  steepingseconds INT
);

CREATE TABLE IF NOT EXISTS steepinglog (
  tea_id INT,
  steeping_seconds INT,
  steeping_tested_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);