-- ----------------------------
-- Table structure for ne_state
-- ----------------------------
DROP TABLE IF EXISTS "ne_state";
CREATE TABLE "ne_state" (
  "id" integer NOT NULL,
  "ne_type" text(16),
  "ne_id" text(32),
  "version" text(16),
  "capability" text(64),
  "serial_num" text(16),
  "expiry_date" text(10),
  "cpu_usage" text,
  "mem_usage" text,
  "disk_space" text,
  "timestamp" integer(20),
  PRIMARY KEY ("id")
);

-- ----------------------------
-- Indexes structure for table ne_state
-- ----------------------------
CREATE INDEX "idx_type_id_time"
ON "ne_state" (
  "ne_type" ASC,
  "ne_id" ASC,
  "timestamp" ASC
);

-- ----------------------------
-- Records of ne_state
-- ----------------------------
