-- Migration: 0001_init
-- Creates the linux_tcp_socket_stats table for linux-tcp-socket-stats sense.

CREATE TABLE IF NOT EXISTS linux_tcp_socket_stats (
  ts               INTEGER PRIMARY KEY,
  sockets_used     INTEGER NOT NULL,
  tcp_inuse        INTEGER NOT NULL,
  tcp_orphan       INTEGER NOT NULL,
  tcp_tw           INTEGER NOT NULL,
  tcp_alloc        INTEGER NOT NULL,
  tcp_mem_pages    INTEGER NOT NULL,
  parse_ok         INTEGER NOT NULL,
  raw_sockstat     TEXT    NOT NULL
);
