create table MapServer ( id integer primary key autoincrement, catalog varchar(32) not null, version varchar(32) not null, value text not null, description varchar(255), date_created integer default (strftime('%s', 'now')) not null ); create index catagory_pidx on MapServer (catalog, version);