-- include hstore
\i /usr/share/postgresql/8.4/contrib/hstore.sql

create table dslam_h (
ip inet not null,
username text not null,
timestamp timestamp default now(),
h hstore
);

-- columns used in where for gnuplot
create index dslam_h_username on dslam_h(username);
create index dslam_h_timestamp on dslam_h(timestamp) ;

