-- AUTOGENERATED BY gopkg.in/spacemonkeygo/dbx.v1 -- DO NOT EDIT CREATE TABLE raws ( id bigserial NOT NULL, node_id text NOT NULL, interval_end_time timestamp with time zone NOT NULL, data_total bigint NOT NULL, data_type integer NOT NULL, created_at timestamp with time zone NOT NULL, updated_at timestamp with time zone NOT NULL, PRIMARY KEY ( id ) ); CREATE TABLE rollups ( id bigserial NOT NULL, node_id text NOT NULL, start_time timestamp with time zone NOT NULL, interval bigint NOT NULL, data_type integer NOT NULL, created_at timestamp with time zone NOT NULL, updated_at timestamp with time zone NOT NULL, PRIMARY KEY ( id ) ); CREATE TABLE timestamps ( name text NOT NULL, value timestamp with time zone NOT NULL, PRIMARY KEY ( name ) );