-- Migration: 0001_init
-- Creates the disk_usage_mounts table for disk-usage-mounts sense.

CREATE TABLE IF NOT EXISTS disk_usage_mounts (
  id            INTEGER PRIMARY KEY AUTOINCREMENT,
  ts            INTEGER NOT NULL,
  device        TEXT    NOT NULL,
  mount         TEXT    NOT NULL,
  fstype        TEXT    NOT NULL,
  total_bytes   INTEGER NOT NULL,
  used_bytes    INTEGER NOT NULL,
  avail_bytes   INTEGER NOT NULL,
  used_percent  REAL    NOT NULL
);
