CREATE TABLE IF NOT EXISTS tags (
  id INTEGER PRIMARY KEY,
  tagName TEXT,
  dateAdded TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  units TEXT,
  deleted INTEGER DEFAULT 0
);

CREATE TABLE IF NOT EXISTS vals (
  id INTEGER PRIMARY KEY,
  tagID INTEGER,
  val REAL,
  dateAdded TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
