drop table if exists member_fields;
create table member_fields (
  mbrid integer NOT NULL,
  code varchar(16) NOT NULL,
  data text NOT NULL,
  PRIMARY KEY (mbrid, code),
  INDEX code_index (code)
) ENGINE=MyISAM;
