jspiderdb.sql
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:4k
源码类别:

搜索引擎

开发平台:

Java

  1. --
  2. -- JSpider database creation script
  3. --
  4. -- WARNING: This JDBC storage provider is an alpha release.
  5. -- It has only been tested on MySQL 3.
  6. --
  7. -- $Id: jspiderdb.sql,v 1.6 2003/04/09 17:08:02 vanrogu Exp $
  8. --
  9. --
  10. -- MySQL dump 8.22
  11. --
  12. -- Host: localhost    Database: jspider
  13. ---------------------------------------------------------
  14. -- Server version 3.23.55-nt
  15. --
  16. -- Table structure for table 'jspider_content'
  17. --
  18. CREATE TABLE jspider_content (
  19.   id int(11) NOT NULL default '0',
  20.   content blob
  21. ) TYPE=MyISAM;
  22. --
  23. -- Table structure for table 'jspider_cookie'
  24. --
  25. CREATE TABLE jspider_cookie (
  26.   id int(11) NOT NULL auto_increment,
  27.   site int(11) NOT NULL default '0',
  28.   name varchar(255) NOT NULL default '',
  29.   value varchar(255) NOT NULL default '',
  30.   domain varchar(255) NOT NULL default '',
  31.   path varchar(255) NOT NULL default '',
  32.   expires varchar(255) default NULL,
  33.   PRIMARY KEY  (id)
  34. ) TYPE=MyISAM;
  35. --
  36. -- Table structure for table 'jspider_decision'
  37. --
  38. CREATE TABLE jspider_decision (
  39.   resource int(11) NOT NULL default '0',
  40.   subject int(11) NOT NULL default '0',
  41.   type int(11) NOT NULL default '0',
  42.   comment longtext NOT NULL,
  43.   PRIMARY KEY  (resource,subject)
  44. ) TYPE=MyISAM;
  45. --
  46. -- Table structure for table 'jspider_decision_step'
  47. --
  48. CREATE TABLE jspider_decision_step (
  49.   resource int(11) NOT NULL default '0',
  50.   subject int(11) NOT NULL default '0',
  51.   sequence int(11) NOT NULL default '0',
  52.   type int(11) NOT NULL default '0',
  53.   rule longtext NOT NULL,
  54.   decision int(11) NOT NULL default '0',
  55.   comment longtext NOT NULL,
  56.   PRIMARY KEY  (resource,subject,sequence)
  57. ) TYPE=MyISAM;
  58. --
  59. -- Table structure for table 'jspider_email_address'
  60. --
  61. CREATE TABLE jspider_email_address (
  62.   id int(11) NOT NULL auto_increment,
  63.   address varchar(255) NOT NULL default '',
  64.   PRIMARY KEY  (id)
  65. ) TYPE=MyISAM;
  66. --
  67. -- Table structure for table 'jspider_email_address_reference'
  68. --
  69. CREATE TABLE jspider_email_address_reference (
  70.   resource int(11) NOT NULL default '0',
  71.   address int(11) NOT NULL default '0',
  72.   count int(11) NOT NULL default '0',
  73.   PRIMARY KEY  (resource,address)
  74. ) TYPE=MyISAM;
  75. --
  76. -- Table structure for table 'jspider_folder'
  77. --
  78. CREATE TABLE jspider_folder (
  79.   id int(11) NOT NULL auto_increment,
  80.   parent int(11) NOT NULL default '0',
  81.   site int(11) NOT NULL default '0',
  82.   name longtext NOT NULL,
  83.   PRIMARY KEY  (id)
  84. ) TYPE=MyISAM;
  85. --
  86. -- Table structure for table 'jspider_resource'
  87. --
  88. CREATE TABLE jspider_resource (
  89.   id int(11) NOT NULL auto_increment,
  90.   url longtext NOT NULL,
  91.   state int(11) NOT NULL default '0',
  92.   httpstatus int(11) NOT NULL default '0',
  93.   site int(11) NOT NULL default '0',
  94.   timems int(11) NOT NULL default '0',
  95.   mimetype varchar(255) default NULL,
  96.   size int(11) NOT NULL default '0',
  97.   folder int(11) NOT NULL default '0',
  98.   PRIMARY KEY  (id)
  99. ) TYPE=MyISAM;
  100. --
  101. -- Table structure for table 'jspider_resource_reference'
  102. --
  103. CREATE TABLE jspider_resource_reference (
  104.   referer int(11) NOT NULL default '0',
  105.   referee int(11) NOT NULL default '0',
  106.   count int(11) NOT NULL default '0',
  107.   PRIMARY KEY  (referer,referee)
  108. ) TYPE=MyISAM;
  109. --
  110. -- Table structure for table 'jspider_site'
  111. --
  112. CREATE TABLE jspider_site (
  113.   id int(11) NOT NULL auto_increment,
  114.   host varchar(255) NOT NULL default '',
  115.   port int(11) NOT NULL default '80',
  116.   robotstxthandled tinyint(4) NOT NULL default '0',
  117.   usecookies tinyint(4) NOT NULL default '0',
  118.   useproxy tinyint(4) NOT NULL default '0',
  119.   state int(11) NOT NULL default '0',
  120.   obeyrobotstxt int(11) NOT NULL default '0',
  121.   fetchrobotstxt int(11) NOT NULL default '0',
  122.   basesite int(11) NOT NULL default '0',
  123.   useragent varchar(255) NOT NULL default '',
  124.   handle int(11) NOT NULL default '0',
  125.   PRIMARY KEY  (id)
  126. ) TYPE=MyISAM;