CREATE TABLE /*$wgDBprefix*/moodleusers (
  -- ID of moodle user associated with mediawiki account
  moodle_id int(10) unsigned NOT NULL,
  -- ID of mediawiki user associated with moodle account
  mediawiki_id varchar(255) binary NOT NULL,

  PRIMARY KEY mediawiki_id (mediawiki_id)
) /*$wgDBTableOptions*/;
