--- /dev/null
+create table dslam (
+ip inet not null,
+username text not null,
+timestamp timestamp default now(),
+variant text not null,
+h hstore
+);
+
+-- columns used in where for gnuplot
+create index dslam_username on dslam(username);
+create index dslam_timestamp on dslam(timestamp) ;
+create index dslam_variant on dslam(variant) ;
+