-- MySQL dump 10.11
--
-- Host: pfamdb2a    Database: pfam_24_0
-- ------------------------------------------------------
-- Server version	5.0.37-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `pdb_pfamB_reg`
--

DROP TABLE IF EXISTS `pdb_pfamB_reg`;
CREATE TABLE `pdb_pfamB_reg` (
  `auto_pdb_reg` int(15) unsigned NOT NULL auto_increment,
  `auto_pfamB_reg` int(15) unsigned default NULL,
  `pdb_id` varchar(5) NOT NULL,
  `auto_pfamB` int(6) unsigned default NULL,
  `auto_pfamseq` int(10) NOT NULL default '0',
  `chain` varchar(4) NOT NULL,
  `pdb_res_start` mediumint(8) default NULL,
  `pdb_res_end` mediumint(8) default NULL,
  `seq_start` mediumint(8) unsigned default NULL,
  `seq_end` mediumint(8) unsigned default NULL,
  PRIMARY KEY  (`auto_pdb_reg`),
  KEY `auto_pfamseq` (`auto_pfamseq`),
  KEY `auto_pfamB_reg` (`auto_pfamB_reg`),
  KEY `auto_pfamB` (`auto_pfamB`),
  KEY `pdb_id` (`pdb_id`),
  CONSTRAINT `FK_pdb_pfamB_reg_1` FOREIGN KEY (`auto_pfamB`) REFERENCES `pfamB` (`auto_pfamB`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamB_reg_2` FOREIGN KEY (`auto_pfamB_reg`) REFERENCES `pfamB_reg` (`auto_pfamB_reg`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamB_reg_3` FOREIGN KEY (`auto_pfamseq`) REFERENCES `pfamseq` (`auto_pfamseq`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `FK_pdb_pfamB_reg_4` FOREIGN KEY (`pdb_id`) REFERENCES `pdb` (`pdb_id`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-10-07 14:28:06
