You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

756 lines
46 KiB

  1. # Project: Web Reference Database (refbase) <http://www.refbase.net>
  2. # Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
  3. # original author(s).
  4. #
  5. # This code is distributed in the hope that it will be useful,
  6. # but WITHOUT ANY WARRANTY. Please see the GNU General Public
  7. # License for more details.
  8. #
  9. # File: ./install.sql
  10. # Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/install.sql $
  11. # Author(s): Matthias Steffens <mailto:refbase@extracts.de>
  12. #
  13. # Created: 02-Oct-04, 20:11
  14. # Modified: $Date: 2015-01-07 23:10:25 +0000 (Wed, 07 Jan 2015) $
  15. # $Author: karnesky $
  16. # $Revision: 1396 $
  17. # MySQL database structure & initial data (for use with 'latin1' character set)
  18. # created with phpMyAdmin (version 2.5.5-pl1) http://www.phpmyadmin.net
  19. # --------------------------------------------------------
  20. #
  21. # table structure for table `auth`
  22. #
  23. DROP TABLE IF EXISTS `auth`;
  24. CREATE TABLE `auth` (
  25. `user_id` mediumint(8) unsigned NOT NULL default '0',
  26. `email` varchar(50) NOT NULL default '',
  27. `password` varchar(15) NOT NULL default '',
  28. PRIMARY KEY (`user_id`)
  29. ) ENGINE=MyISAM;
  30. #
  31. # data for table `auth`
  32. #
  33. INSERT INTO `auth` VALUES (1, 'user@refbase.net', 'usLtr5Vq964qs');
  34. # --------------------------------------------------------
  35. #
  36. # table structure for table `deleted`
  37. #
  38. DROP TABLE IF EXISTS `deleted`;
  39. CREATE TABLE `deleted` (
  40. `author` text,
  41. `address` text,
  42. `corporate_author` varchar(255) default NULL,
  43. `first_author` varchar(100) default NULL,
  44. `author_count` tinyint(3) unsigned default NULL,
  45. `title` text,
  46. `orig_title` text,
  47. `publication` varchar(255) default NULL,
  48. `abbrev_journal` varchar(100) default NULL,
  49. `year` smallint(6) default NULL,
  50. `volume` varchar(50) default NULL,
  51. `volume_numeric` smallint(5) unsigned default NULL,
  52. `issue` varchar(50) default NULL,
  53. `pages` varchar(50) default NULL,
  54. `first_page` mediumint(8) unsigned default NULL,
  55. `keywords` text,
  56. `abstract` text,
  57. `edition` varchar(50) default NULL,
  58. `editor` text,
  59. `publisher` varchar(255) default NULL,
  60. `place` varchar(100) default NULL,
  61. `MEDIUM` varchar(50) default NULL,
  62. `series_editor` text,
  63. `series_title` text,
  64. `abbrev_series_title` varchar(100) default NULL,
  65. `series_volume` varchar(50) default NULL,
  66. `series_volume_numeric` smallint(5) unsigned default NULL,
  67. `series_issue` varchar(50) default NULL,
  68. `issn` varchar(100) default NULL,
  69. `isbn` varchar(100) default NULL,
  70. `language` varchar(100) default NULL,
  71. `summary_language` varchar(100) default NULL,
  72. `area` varchar(255) default NULL,
  73. `TYPE` varchar(100) default NULL,
  74. `thesis` enum('Bachelor''s thesis','Honours thesis','Master''s thesis','Ph.D. thesis','Diploma thesis','Doctoral thesis','Habilitation thesis') default NULL,
  75. `expedition` varchar(255) default NULL,
  76. `doi` varchar(100) default NULL,
  77. `conference` varchar(255) default NULL,
  78. `url` varchar(255) default NULL,
  79. `call_number` text,
  80. `location` text,
  81. `contribution_id` varchar(100) default NULL,
  82. `online_publication` enum('no','yes') NOT NULL default 'no',
  83. `online_citation` varchar(255) default NULL,
  84. `FILE` varchar(255) default NULL,
  85. `notes` text,
  86. `serial` mediumint(8) unsigned NOT NULL auto_increment,
  87. `orig_record` mediumint(9) default NULL,
  88. `approved` enum('no','yes') NOT NULL default 'no',
  89. `created_date` date default NULL,
  90. `created_time` time default NULL,
  91. `created_by` varchar(100) default NULL,
  92. `modified_date` date default NULL,
  93. `modified_time` time default NULL,
  94. `modified_by` varchar(100) default NULL,
  95. `version` mediumint(8) unsigned default 1,
  96. `deleted_date` date default NULL,
  97. `deleted_time` time default NULL,
  98. `deleted_by` varchar(100) default NULL,
  99. PRIMARY KEY (`serial`)
  100. ) ENGINE=MyISAM;
  101. #
  102. # data for table `deleted`
  103. #
  104. # --------------------------------------------------------
  105. #
  106. # table structure for table `depends`
  107. #
  108. DROP TABLE IF EXISTS `depends`;
  109. CREATE TABLE `depends` (
  110. `depends_id` mediumint(8) unsigned NOT NULL auto_increment,
  111. `depends_external` varchar(100) default NULL,
  112. `depends_enabled` enum('true','false') NOT NULL default 'true',
  113. `depends_path` varchar(255) default NULL,
  114. PRIMARY KEY (`depends_id`)
  115. ) ENGINE=MyISAM;
  116. #
  117. # data for table `depends`
  118. #
  119. INSERT INTO `depends` VALUES (1, 'refbase', 'true', NULL),
  120. (2, 'bibutils', 'true', NULL),
  121. (3, 'pdftotext', 'true', NULL);
  122. # --------------------------------------------------------
  123. #
  124. # table structure for table `formats`
  125. #
  126. DROP TABLE IF EXISTS `formats`;
  127. CREATE TABLE `formats` (
  128. `format_id` mediumint(8) unsigned NOT NULL auto_increment,
  129. `format_name` varchar(100) default NULL,
  130. `format_type` enum('export','import','cite') NOT NULL default 'export',
  131. `format_enabled` enum('true','false') NOT NULL default 'true',
  132. `format_spec` varchar(255) default NULL,
  133. `order_by` varchar(25) default NULL,
  134. `depends_id` mediumint(8) unsigned NOT NULL default '0',
  135. PRIMARY KEY (`format_id`),
  136. KEY `format_name` (`format_name`)
  137. ) ENGINE=MyISAM;
  138. #
  139. # data for table `formats`
  140. #
  141. INSERT INTO `formats` VALUES (1, 'MODS XML', 'import', 'true', 'bibutils/import_modsxml2refbase.php', 'A160', 2),
  142. (2, 'MODS XML', 'export', 'true', 'export_modsxml.php', 'B160', 1),
  143. (3, 'Text (CSV)', 'export', 'false', 'export_textcsv.php', 'B105', 1),
  144. (4, 'BibTeX', 'import', 'true', 'bibutils/import_bib2refbase.php', 'A010', 2),
  145. (5, 'BibTeX', 'export', 'true', 'bibutils/export_xml2bib.php', 'B010', 2),
  146. (6, 'Endnote', 'import', 'true', 'bibutils/import_end2refbase.php', 'A040', 2),
  147. (7, 'Endnote XML', 'import', 'true', 'bibutils/import_endx2refbase.php', 'A045', 2),
  148. (8, 'Endnote', 'export', 'true', 'bibutils/export_xml2end.php', 'B040', 2),
  149. (9, 'Pubmed Medline', 'import', 'true', 'import_medline2refbase.php', 'A060', 1),
  150. (10, 'Pubmed XML', 'import', 'true', 'bibutils/import_med2refbase.php', 'A065', 2),
  151. (11, 'RIS', 'import', 'true', 'import_ris2refbase.php', 'A080', 1),
  152. (12, 'RIS', 'export', 'true', 'bibutils/export_xml2ris.php', 'B080', 2),
  153. (13, 'ISI', 'import', 'true', 'import_isi2refbase.php', 'A050', 1),
  154. (14, 'ISI', 'export', 'true', 'bibutils/export_xml2isi.php', 'B050', 2),
  155. (15, 'CSA', 'import', 'true', 'import_csa2refbase.php', 'A030', 1),
  156. (16, 'Copac', 'import', 'true', 'bibutils/import_copac2refbase.php', 'A020', 2),
  157. (17, 'SRW_MODS XML', 'export', 'true', 'export_srwxml.php', 'B195', 1),
  158. (18, 'ODF XML', 'export', 'true', 'export_odfxml.php', 'B180', 1),
  159. (19, 'Atom XML', 'export', 'true', 'export_atomxml.php', 'B140', 1),
  160. (20, 'html', 'cite', 'true', 'formats/cite_html.php', 'C010', 1),
  161. (21, 'RTF', 'cite', 'true', 'formats/cite_rtf.php', 'C020', 1),
  162. (22, 'PDF', 'cite', 'true', 'formats/cite_pdf.php', 'C030', 1),
  163. (23, 'LaTeX', 'cite', 'true', 'formats/cite_latex.php', 'C040', 1),
  164. (24, 'Markdown', 'cite', 'true', 'formats/cite_markdown.php', 'C050', 1),
  165. (25, 'ASCII', 'cite', 'true', 'formats/cite_ascii.php', 'C060', 1),
  166. (26, 'RefWorks', 'import', 'true', 'import_refworks2refbase.php', 'A070', 1),
  167. (27, 'SciFinder', 'import', 'true', 'import_scifinder2refbase.php', 'A090', 1),
  168. (28, 'Word XML', 'export', 'true', 'bibutils/export_xml2word.php', 'B200', 2),
  169. (29, 'LaTeX .bbl', 'cite', 'true', 'formats/cite_latex_bbl.php', 'C045', 1),
  170. (30, 'Text (Tab-Delimited)', 'import', 'true', 'import_tabdelim2refbase.php', 'A100', 1),
  171. (31, 'CrossRef XML', 'import', 'true', 'import_crossref2refbase.php', 'A150', 1),
  172. (32, 'OAI_DC XML', 'export', 'true', 'export_oaidcxml.php', 'B170', 1),
  173. (33, 'SRW_DC XML', 'export', 'true', 'export_srwxml.php', 'B190', 1),
  174. (34, 'ADS', 'export', 'true', 'bibutils/export_xml2ads.php', 'B005', 2),
  175. (35, 'arXiv XML', 'import', 'true', 'import_arxiv2refbase.php', 'A130', 1);
  176. # --------------------------------------------------------
  177. #
  178. # table structure for table `languages`
  179. #
  180. DROP TABLE IF EXISTS `languages`;
  181. CREATE TABLE `languages` (
  182. `language_id` mediumint(8) unsigned NOT NULL auto_increment,
  183. `language_name` varchar(50) default NULL,
  184. `language_enabled` enum('true','false') NOT NULL default 'true',
  185. `order_by` varchar(25) default NULL,
  186. PRIMARY KEY (`language_id`),
  187. KEY `language_name` (`language_name`)
  188. ) ENGINE=MyISAM;
  189. #
  190. # data for table `languages`
  191. #
  192. INSERT INTO `languages` VALUES (1, 'en', 'true', '1'),
  193. (2, 'de', 'true', '2'),
  194. (3, 'fr', 'true', '3'),
  195. (4, 'es', 'false', '4'),
  196. (5, 'cn', 'true', '5'),
  197. (6, 'ru', 'true', '6'),
  198. (7, 'ja', 'true', '7');
  199. # --------------------------------------------------------
  200. #
  201. # table structure for table `queries`
  202. #
  203. DROP TABLE IF EXISTS `queries`;
  204. CREATE TABLE `queries` (
  205. `query_id` mediumint(8) unsigned NOT NULL auto_increment,
  206. `user_id` mediumint(8) unsigned NOT NULL default '0',
  207. `query_name` varchar(255) default NULL,
  208. `display_type` varchar(25) default NULL,
  209. `view_type` varchar(25) default NULL,
  210. `query` text,
  211. `show_query` tinyint(3) unsigned default NULL,
  212. `show_links` tinyint(3) unsigned default NULL,
  213. `show_rows` mediumint(8) unsigned default NULL,
  214. `cite_style_selector` varchar(50) default NULL,
  215. `cite_order` varchar(25) default NULL,
  216. `last_execution` datetime default NULL,
  217. PRIMARY KEY (`query_id`),
  218. KEY `user_id` (`user_id`,`query_name`)
  219. ) ENGINE=MyISAM;
  220. #
  221. # data for table `queries`
  222. #
  223. INSERT INTO `queries` VALUES (1, 1, 'My refs edited today', '', 'Web', 'SELECT author, title, year, publication, modified_by, modified_time FROM refs WHERE location RLIKE "user@refbase.net" AND modified_date = CURDATE() ORDER BY modified_time DESC', 0, 1, 5, '', '', '2004-06-02 18:37:07'),
  224. (2, 1, 'My refs (print view)', 'Show', 'Print', 'SELECT author, title, year, publication, volume, pages FROM refs LEFT JOIN user_data ON serial = record_id AND user_id = 1 WHERE location RLIKE "user@refbase.net" ORDER BY author, year DESC, publication', 0, 1, 50, '', '', '2004-07-30 22:37:02'),
  225. (3, 1, 'My refs (keys & groups)', '', 'Web', 'SELECT author, title, year, publication, user_keys, user_groups FROM refs LEFT JOIN user_data ON serial = record_id AND user_id = 1 WHERE location RLIKE "user@refbase.net" ORDER BY author, year DESC, publication', 0, 1, 5, '', '', '2004-07-30 23:24:28'),
  226. (4, 1, 'Abstracts (print view)', '', 'Print', 'SELECT author, year, abstract FROM refs WHERE serial RLIKE ".+" ORDER BY author, year DESC, publication', 0, 1, 5, '', '', '2004-07-30 22:36:48');
  227. # --------------------------------------------------------
  228. #
  229. # table structure for table `refs`
  230. #
  231. DROP TABLE IF EXISTS `refs`;
  232. CREATE TABLE `refs` (
  233. `author` text,
  234. `address` text,
  235. `corporate_author` varchar(255) default NULL,
  236. `first_author` varchar(100) default NULL,
  237. `author_count` tinyint(3) unsigned default NULL,
  238. `title` text,
  239. `orig_title` text,
  240. `publication` varchar(255) default NULL,
  241. `abbrev_journal` varchar(100) default NULL,
  242. `year` smallint(6) default NULL,
  243. `volume` varchar(50) default NULL,
  244. `volume_numeric` smallint(5) unsigned default NULL,
  245. `issue` varchar(50) default NULL,
  246. `pages` varchar(50) default NULL,
  247. `first_page` mediumint(8) unsigned default NULL,
  248. `keywords` text,
  249. `abstract` text,
  250. `edition` varchar(50) default NULL,
  251. `editor` text,
  252. `publisher` varchar(255) default NULL,
  253. `place` varchar(100) default NULL,
  254. `MEDIUM` varchar(50) default NULL,
  255. `series_editor` text,
  256. `series_title` text,
  257. `abbrev_series_title` varchar(100) default NULL,
  258. `series_volume` varchar(50) default NULL,
  259. `series_volume_numeric` smallint(5) unsigned default NULL,
  260. `series_issue` varchar(50) default NULL,
  261. `issn` varchar(100) default NULL,
  262. `isbn` varchar(100) default NULL,
  263. `language` varchar(100) default NULL,
  264. `summary_language` varchar(100) default NULL,
  265. `area` varchar(255) default NULL,
  266. `TYPE` varchar(100) default NULL,
  267. `thesis` enum('Bachelor''s thesis','Honours thesis','Master''s thesis','Ph.D. thesis','Diploma thesis','Doctoral thesis','Habilitation thesis') default NULL,
  268. `expedition` varchar(255) default NULL,
  269. `doi` varchar(100) default NULL,
  270. `conference` varchar(255) default NULL,
  271. `url` varchar(255) default NULL,
  272. `call_number` text,
  273. `location` text,
  274. `contribution_id` varchar(100) default NULL,
  275. `online_publication` enum('no','yes') NOT NULL default 'no',
  276. `online_citation` varchar(255) default NULL,
  277. `FILE` varchar(255) default NULL,
  278. `notes` text,
  279. `serial` mediumint(8) unsigned NOT NULL auto_increment,
  280. `orig_record` mediumint(9) default NULL,
  281. `approved` enum('no','yes') NOT NULL default 'no',
  282. `created_date` date default NULL,
  283. `created_time` time default NULL,
  284. `created_by` varchar(100) default NULL,
  285. `modified_date` date default NULL,
  286. `modified_time` time default NULL,
  287. `modified_by` varchar(100) default NULL,
  288. `version` mediumint(8) unsigned default 1,
  289. PRIMARY KEY (`serial`)
  290. ) ENGINE=MyISAM;
  291. #
  292. # data for table `refs`
  293. #
  294. INSERT INTO `refs` VALUES ('Chapelle, G; Peck, LS', NULL, NULL, 'Chapelle, G', 2, 'Polar gigantism dictated by oxygen availability', NULL, 'Nature', 'Nature', 1999, '399', 399, NULL, '114-115', 114, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0028-0836', NULL, 'English', NULL, 'Black Sea; Caspian Sea; Lake Baikal', 'Journal Article', NULL, NULL, NULL, NULL, NULL, 'refbase @ user @ 137', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, NULL, 1, NULL, 'no', '2001-04-30', '18:56:26', 'Initial refbase user (user@refbase.net)', '2004-01-08', '21:20:55', 'Initial refbase user (user@refbase.net)', 1),
  295. ('Hilmer, M', NULL, NULL, 'Hilmer, M', 1, 'A model study of Arctic sea ice variability', NULL, NULL, NULL, 2001, NULL, NULL, NULL, '157 pp', 157, NULL, NULL, NULL, NULL, 'Inst Meereskunde', 'Kiel', 'pp', NULL, 'Berichte aus dem Institut f�r Meereskunde an der Christian-Albrechts-Universit�t Kiel', 'Ber Inst Meereskd Christian-Albrechts-Univ Kiel', '320', 320, NULL, '0341-8561', NULL, 'English', 'English; German', 'Arctic Ocean', 'Book Whole', 'Doctoral thesis', NULL, NULL, NULL, NULL, 'refbase @ user @ 468', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, NULL, 2, NULL, 'yes', '2001-10-16', '17:33:46', 'Initial refbase user (user@refbase.net)', '2004-06-27', '13:27:54', 'Initial refbase user (user@refbase.net)', 1),
  296. ('Hobson, KA; Ambrose Jr, WG; Renaud, PE', 'Canadian Wildlife Service, 115 Perimeter Road, Saskatoon, SK S7N 0X4, Canada', NULL, 'Hobson, KA', 3, 'Sources of primary production, benthic-pelagic coupling, and trophic relationships within the Northeast Water Polynya: Insights from [delta][super:13]C and [delta][super:15]N analysis', NULL, 'Marine Ecology Progress Series', 'Mar Ecol Prog Ser', 1995, '128', 128, '1-3', '1-10', 1, 'phytobenthos; polynyas; carbon 13; nitrogen isotopes; food webs; check lists; trophic structure; Algae; PNE, Greenland, Northeast Water Polynya', 'We used stable carbon ([super:13]C/[super:12]C) and nitrogen ([super:15]N/[super:14]N) isotope analysis to investigate linkages between sources of primary production and the pelagic and benthic components of the Northeast Water (NEW) Polynya off northeastern Greenland. Ice algae was enriched in [super:13]C (mean [delta][super:13]C = -18.6 vs -27.9 ppt) and [super:15]N (mean [delta][super:15]N = 8.3 vs 4.9 ppt) over particulate organic matter (POM) suggesting that the relative importance of these sources might be traced isotopically. Most grazing crustaceans and filter-feeding bivalves had [delta][super:13]C and [delta][super:15]N values in the range of -21 to -23 ppt and 7 to 9 ppt, respectively, indicating a direct pathway from POM. Close benthic-pelagic coupling was also confirmed for other benthic organisms examined with the exception of the predatory or deposit feeding echinoderms _Ophiocten_, _Ophiacantha_ and _Pontaster_. Compared with other Arctic and temperate marine food webs, stable-carbon isotope values for the NEW Polynya were depleted in [super:13]C. A [delta][super:15]N trophic model that incorporated taxon-specific isotopic fractionation factors indicated that the NEW Polynya consisted of 4.5 to 5 trophic levels. Stable-isotope analysis may be well suited to establishing the importance of polynyas as sites of high primary productivity and tight benthic-pelagic coupling relative to regions of more permanent ice cover.', NULL, NULL, 'Inter-Research', 'Oldendorf/Luhe', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0171-8630', NULL, 'English', 'English', 'Northeast Water Polynya; Northeast Greenland Shelf; Arctic', 'Journal Article', NULL, NULL, NULL, NULL, NULL, 'refbase @ user @ 133', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, 'marecolprogser/Hobson_et_al1995.pdf', 'Bibliogr.: 63 ref.', 3, -3, 'no', '2001-04-30', '18:43:59', 'Initial refbase user (user@refbase.net)', '2004-05-25', '00:29:50', 'Initial refbase user (user@refbase.net)', 1),
  297. ('Hobson, KA; Ambrose Jr, WG; Renaud, PE', NULL, NULL, 'Hobson, KA', 3, 'Sources of primary production, benthic-pelagic coupling, and trophic relationships within the Northeast Water Polynya: insights from [delta][super:13]C and [delta][super:15]N analysis', NULL, 'Marine Ecology Progress Series', 'Mar Ecol Prog Ser', 1995, '128', 128, NULL, '1-10', 1, 'ARK; Greenland; NEW; Polynya; Isotopes; 13C; 15N; Benthos; Food', NULL, NULL, NULL, 'Inter-Research', 'Oldendorf/Luhe', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0171-8630', NULL, 'English', 'English', NULL, 'Journal Article', NULL, NULL, NULL, NULL, NULL, 'refbase @ user @ NEW Zonation(96)', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, NULL, 10, 3, 'no', '2002-08-22', '23:02:10', 'Initial refbase user (user@refbase.net)', '2004-05-25', '00:30:56', 'Initial refbase user (user@refbase.net)', 1),
  298. ('Schleser, GH; Jayasekera, R', NULL, NULL, 'Schleser, GH', 2, '[delta][super:13]C-variations of leaves in forests as an indication of reassimilated CO[sub:2] from the soil', NULL, 'Oecologia', 'Oecologia', 1985, '65', 65, NULL, '536-542', 536, 'soil respiration; photosynthesis; vascular plant', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Journal Article', NULL, NULL, NULL, NULL, NULL, 'refbase @ user @ ms', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, NULL, 11, NULL, 'no', '2002-10-21', '14:42:41', 'Initial refbase user (user@refbase.net)', '2004-01-08', '21:18:56', 'Initial refbase user (user@refbase.net)', 1),
  299. ('Lohrmann, A; Cabrera, R; Kraus, NC', NULL, NULL, 'Lohrmann, A', 3, 'Acoustic-doppler velocimeter (ADV) for laboratory use', NULL, 'Fundamentals and advancements in hydraulic measurements and experimentation. Proceedings, Hydraulic Division/ASCE, August 1994', NULL, 1994, NULL, NULL, NULL, '351-365', 351, 'methods; flow; flume', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'English', NULL, NULL, 'Journal Article', NULL, NULL, NULL, 'Symposium on fundamentals and advancements in hydraulic measurements and experimentation', NULL, 'refbase @ user @ ', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, 'http://www.nortek-as.com/biblio/N4000-702.pdf', NULL, 8, NULL, 'no', '2002-10-24', '15:48:28', 'Initial refbase user (user@refbase.net)', '2004-01-08', '21:19:18', 'Initial refbase user (user@refbase.net)', 1),
  300. ('Thomas, DN; Dieckmann, GS (eds)', 'Thomas: School of Ocean Sciences, University of Wales, Bangor, UK; Dieckmann: Alfred Wegener Institute for Polar and Marine Research, Bremerhaven, Germany', NULL, 'Thomas, DN', 2, 'Sea ice - an introduction to its physics, chemistry, biology and geology', NULL, NULL, NULL, 2003, NULL, NULL, NULL, '402 pp', 402, 'Sea Ice', 'Sea ice, which covers up to 7% of the planet\'s surface, is a major component of the world\'s oceans, partly driving ocean circulation and global climate patterns. It provides a habitat for a rich diversity of marine organisms, and is a valuable source of information in studies of global climate change and the evolution of present day life forms. Increasingly, sea ice is being used as a proxy for extraterrestrial ice covered systems.\r\n\r\n_Sea Ice_ provides a comprehensive review of our current available knowledge of polar pack ice, the study of which is severely constrained by the logistic difficulties of working in such harsh and remote regions of the earth. The book\'s editors, Drs Thomas and Dieckmann have drawn together an impressive group of international contributing authors, providing a well-edited and integrated volume, which will stand for many years as the standard work on the subject. Contents of the book include details of the growth, microstructure and properties of sea ice, large-scale variations in thickness and characteristics, its primary production, micro-and macrobiology, sea ice as a habitat for birds and mammals, sea ice biogeochemistry, particulate flux, and the distribution and significance of palaeo sea ice.', NULL, 'Thomas, DN; Dieckmann, GS', 'Blackwell Science Ltd', 'Oxford', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0-632-05808-0', 'English', NULL, NULL, 'Book Whole', NULL, NULL, NULL, NULL, 'http://www.blackwellpublishing.com/book.asp?ref=0632058080&site=1', 'refbase @ user @ library-34/436/1', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, '40 Illustrations', 7, NULL, 'yes', '2003-12-02', '13:27:50', 'Initial refbase user (user@refbase.net)', '2004-01-08', '21:18:26', 'Initial refbase user (user@refbase.net)', 1),
  301. ('de Castellvi, J (ed)', NULL, NULL, 'de Castellvi, J', 1, 'Actas des tercer symposium espanol de estudios Antarcticos. Gredos, 3 al 5 de octubre de 1989', NULL, NULL, NULL, 1990, NULL, NULL, NULL, '379 pp', 379, NULL, NULL, NULL, 'de Castellvi, J', 'Comision interministerial de Cienctia y Technologia', 'Madrid', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Spanish', NULL, NULL, 'Book Whole', NULL, NULL, NULL, NULL, NULL, 'refbase @ user @ library-32/19/20', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, NULL, NULL, 9, NULL, 'no', '1997-08-22', '00:00:00', 'Initial refbase user (user@refbase.net)', '2004-01-08', '21:20:49', 'Initial refbase user (user@refbase.net)', 1),
  302. ('Aberle, N; Witte, U', 'Aberle, Witte: Max Planck Institute for Marine Microbiology, Celsiusstr. 1, 28359 Bremen, Germany; Aberle: Present address: Max Planck Institute for Limnology, August-Thienemann-Str. 2, 24306 Pl�n, Germany; Email: aberle@mpil-ploen.mpg.de', NULL, 'Aberle, N', 2, 'Deep-sea macrofauna exposed to a simulated sedimentation event in the abyssal NE Atlantic: _in situ_ pulse-chase experiments using [super:13]C-labelled phytodetritus', NULL, 'Marine Ecology Progress Series', 'Mar Ecol Prog Ser', 2003, '251', 251, NULL, '37-47', 37, 'Deep-sea; Pulse-chase experiment; [delta][super:13]C; Benthic carbon remineralisation; Macrofauna; Atlantic Ocean, Porcupine Abyssal Plain', 'Tracer experiments with [super:13]C-labelled diatoms _Thalassiosira rotula_ (Bacillariophycea, 98% [super:13]C-labelled) were conducted at the Porcupine Abyssal Plain (PAP) in the NE Atlantic (BENGAL Station; 48�50\'N, 1630\'W, 4850 m depth) during May/June 2000. _In situ_ enrichment experiments were carried out using deep-sea benthic chamber landers: within the chambers a spring bloom was simulated and the fate of this food-pulse within the abyssal macrobenthic community was followed. In focus was the role of different macrofauna taxa and their vertical distribution within the sediment column in consuming and reworking the freshly deposited material. _T. rotula_ is one of the most abundant pelagic diatoms in the NE Atlantic and therefore 0.2 g of freeze dried _T. rotula_, equivalent to 1 g algal C m[super:-2] yr[super:-1], was injected into each incubation chamber. Three different incubation times of 2.5, 8 and 23 d were chosen in order to follow the uptake of [super:13]C-labelled phytodetritus by macrofauna. After only 2.5 d, 77% of all macrofauna organisms showed tracer uptake. After 23 d the highest degree of enrichment was measured and 95% of the individuals had taken up [super:13]C from the introduced algal material. In addition to that a downward transport of organic matter was observed, even though the mixing was not very intense. The initial processing of carbon was dominated by polychaetes that made up a percentage of 52% of total macrofauna. In general macrofauna organisms that lived close to the sediment surface had higher access to the simulated food-pulse, confirming the hypothesis that individuals close to the sediment surface have the strongest impact on the decomposition of phytodetritus. In our study we observed only modest vertical entrainment of [super:13]C tracers into the sediment. With regard to contradictory results from former [super:13]C-enrichment experiments in bathyal regions, compared to results from our study site in the abyssal plain, we thus propose pronounced differences in feeding strategies between macrofauna communities from continental margins and abyssal plains.', NULL, NULL, 'Inter-Research', 'Oldendorf/Luhe', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0171-8630', NULL, 'English', 'English', 'NE Atlantic', 'Journal Article', NULL, NULL, NULL, NULL, 'http://www.int-res.com/abstracts/meps/v251/p37-47.html', 'refbase @ user @ 706', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, 'marecolprogser/m251p037.pdf', NULL, 4, NULL, 'no', '2003-11-17', '17:36:44', 'Initial refbase user (user@refbase.net)', '2004-10-02', '18:18:59', 'refbase user (testuser@refbase.net)', 1),
  303. ('Bischof, K; Peralta, G; Kr�bs, G; van de Poll, WH; Perez-Llorens, JL; Breeman, AM', NULL, NULL, 'Bischof, K', 3, 'Effects of solar UV-B radiation on canopy structure of _Ulva_ communities from southern Spain', NULL, 'Journal of Experimental Botany', 'J Exp Bot', 2002, '53', 53, '379', '2411-2421', 2411, 'canopy formation; photosynthesis; ultraviolet radiation; _Ulva rotundata_', 'Within the sheltered creeks of C�diz bay, _Ulva_ thalli form extended mat-like canopies. The effect of solar ultraviolet radiation on photosynthetic activity, the composition of photosynthetic and xanthophyll cycle pigments, and the amount of RubisCO, chaperonin 60 (CPN 60), and the induction of DNA damage in _Ulva_ aff. _rotundata_ Bliding from southern Spain was assessed in the field. Samples collected from the natural community were covered by screening filters, generating different radiation conditions. During daily cycles, individual thalli showed photoinhibitory effects of the natural solar radiation. This inhibition was even more pronounced in samples only exposed to photosynthetically active radiation (PAR). Strongly increased heat dissipation in these samples indicated the activity of regulatory mechanisms involved in dynamic photoinhibition. Adverse effects of UV-B radiation on photosynthesis were only observed in combination with high levels of PAR, indicating the synergistic effects of the two wavelength ranges. In samples exposed either to PAR+UV-A or to UV-B+UV-A without PAR, no inhibition of photosynthetic quantum yield was found in the course of the day. At the natural site, the top layer of the mat-like canopies is generally completely bleached. Artificially designed _Ulva_ canopies exhibited fast bleaching of the top layer under the natural solar radiation conditions, while this was not observed in canopies either shielded from UV or from PAR. The bleached first layer of the canopies acts as a selective UV-B filter, and thus prevents subcanopy thalli from exposure to harmful radiation. This was confirmed by the differences in photosynthetic activity, pigment composition, and the concentration of RubisCO in thalli with different positions within the canopy. In addition, the induction of the stress protein CPN 60 under UV exposure and the low accumulation of DNA damage indicate the presence of physiological protection mechanisms against harmful UV-B. A mechanism of UV-B-induced inhibition of photosynthesis under field conditions is proposed.', NULL, NULL, 'Oxford University Press', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'English', 'English', 'southern Spain', 'Journal Article', NULL, NULL, '10.1093/jxb/erf091', NULL, 'http://jxb.oupjournals.org/cgi/content/abstract/53/379/2411', 'refbase @ user @ ', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, 'jexpbot/jxb-erf091.pdf', NULL, 12, NULL, 'no', '2003-11-17', '17:47:02', 'Initial refbase user (user@refbase.net)', '2004-05-24', '22:50:50', 'Initial refbase user (user@refbase.net)', 1),
  304. ('Amon, RMW; Bud�us, G; Meon, B', NULL, NULL, 'Amon, RMW', 3, 'Dissolved organic carbon distribution and origin in the Nordic Seas: Exchanges with the Arctic Ocean and the North Atlantic', NULL, 'Journal of Geophysical Research', 'J Geophys Res', 2003, '108', 108, 'C7', NULL, NULL, 'dissolved organic matter; dissolved organic carbon; chromophoric dissolved organic matter; fluorescence; vertical carbon transport', 'Dissolved organic carbon (DOC) and in situ fluorescence were measured along with hydrographic parameters in the Greenland, Iceland, and Norwegian Seas (Nordic Seas). Surface (<100 m) concentrations of DOC ranged from 60 to 118 �M with elevated values in the East Greenland Current (EGC) which transports water from the Arctic Ocean to the North Atlantic. EGC surface waters also showed a pronounced fluorescence maximum between 30 and 120 m depth in all EGC sections indicating the abundance of Arctic river derived DOC in this current. Based on fluorescence we estimated that 20-50% of the annual river discharge to the Arctic Ocean was exported in the EGC. The fluorescence maximum was typically associated with salinity around 33 and temperatures below -1�C which are characteristic of surface and upper halocline water in the Arctic Ocean. The elevated fluorescence in this water mass suggests a strong Eurasian shelf component and also suggests that in situ fluorescence could be used to trace Eurasian shelf water in the central Arctic Ocean. DOC concentrations in the Nordic Sea basins (>1000 m) were relatively high (~50 �M DOC) compared with other ocean basins indicating active vertical transport of DOC in this region on decadal timescales. Based on existing vertical transport estimates and 15 �M of semilabile DOC we calculated an annual vertical net DOC export of 3.5 Tg C yr[super:-1] in the Greenland Sea and about 36 Tg C yr[super:-1] for the entire Arctic Mediterranean Sea (AMS) including the Greenland-Scotland Ridge overflow. It appears that physical processes play a determining role for the distribution of DOC in the AMS.', NULL, NULL, 'American Geophysical Union', 'Washington, DC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'English', 'English', 'Nordic Seas', 'Journal Article', NULL, NULL, '10.1029/2002JC001594', NULL, 'http://www.agu.org/pubs/crossref/2003/2002JC001594.shtml', 'refbase @ user @ ms', 'Initial refbase user (user@refbase.net)', NULL, 'yes', '3221', 'jgeophysres/2002JC001594.pdf', NULL, 5, NULL, 'no', '2003-11-23', '14:28:56', 'Initial refbase user (user@refbase.net)', '2004-05-24', '22:50:40', 'Initial refbase user (user@refbase.net)', 1),
  305. ('Gerland, S; Winther, J-G; �rb�k, JB; Ivanov, BV', 'Norwegian Polar Institute, Polar Environmental Centre, N-9296 Tromsoe, Norway', NULL, 'Gerland, S', 3, 'Physical properties, spectral reflectance and thickness development of first year fast ice in Kongsfjorden, Svalbard', NULL, 'Proceedings of the International Symposium on Polar Aspects of Global Change', NULL, 1999, NULL, NULL, NULL, '275-282', 275, 'Fast ice; Ice properties; Reflectance; Ice thickness; Physical properties; PNE, Norway, Svalbard, Kongsfjorden', 'A ground truth study was performed on first year fast ice in Kongsfjorden, Svalbard, during spring 1997 and 1998. The survey included sea ice thickness monitoring as well as observation of surface albedo, attenuation of optical radiation in the ice, physical properties and texture of snow and sea ice. The average total sea ice thickness in May was about 0.9 m, including a 0.2 m thick snow layer on top. Within a few weeks in both years, the snow melted almost completely, whereas the ice thickness decreased by not more than 0.05 m. During spring, the lower part of the snow refroze into a solid layer. The sea ice became more porous. Temperatures in the sea ice increased and the measurable salinity of the sea ice decreased with time. Due to snow cover thinning and snow grain growth, maximum surface albedo decreased from 0.96 to 0.74. Texture analysis on cores showed columnar ice with large crystals (max. crystal length > 0.1 m) below a 0.11 m thick mixed surface layer of granular ice with smaller crystals. In both years, we observed sea ice algae at the bottom part of the ice. This layer has a significant effect on the radiation transmissivity.', NULL, NULL, 'Norsk Polarinstitutt', NULL, NULL, NULL, 'Polar Research', 'Polar Res', '18', 18, '2', '0800-0395', NULL, 'English', 'English', NULL, 'Book Chapter', NULL, NULL, NULL, 'International Symposium on Polar Aspects of Global Change, Tromso (Norway), 24-28 Aug 1998', NULL, 'refbase @ user @ 726', 'Initial refbase user (user@refbase.net)', NULL, 'no', NULL, 'gerland_etal.99.doc', 'Conference', 6, NULL, 'no', '2003-11-24', '19:00:20', 'Initial refbase user (user@refbase.net)', '2004-05-24', '22:49:56', 'Initial refbase user (user@refbase.net)', 1);
  306. # --------------------------------------------------------
  307. #
  308. # table structure for table `styles`
  309. #
  310. DROP TABLE IF EXISTS `styles`;
  311. CREATE TABLE `styles` (
  312. `style_id` mediumint(8) unsigned NOT NULL auto_increment,
  313. `style_name` varchar(100) default NULL,
  314. `style_enabled` enum('true','false') NOT NULL default 'true',
  315. `style_spec` varchar(255) default NULL,
  316. `order_by` varchar(25) default NULL,
  317. `depends_id` mediumint(8) unsigned NOT NULL default '0',
  318. PRIMARY KEY (`style_id`),
  319. KEY `style_name` (`style_name`)
  320. ) ENGINE=MyISAM;
  321. #
  322. # data for table `styles`
  323. #
  324. INSERT INTO `styles` VALUES
  325. (1, 'APA', 'true', 'styles/cite_APA.php', 'A010', 1),
  326. (2, 'AMA', 'true', 'styles/cite_AMA.php', 'A020', 1),
  327. (3, 'MLA', 'true', 'styles/cite_MLA.php', 'A030', 1),
  328. (4, 'Chicago', 'true', 'styles/cite_Chicago.php', 'A070', 1),
  329. (5, 'Harvard 1', 'true', 'styles/cite_Harvard_1.php', 'A090', 1),
  330. (6, 'Harvard 2', 'true', 'styles/cite_Harvard_2.php', 'A093', 1),
  331. (7, 'Harvard 3', 'true', 'styles/cite_Harvard_3.php', 'A096', 1),
  332. (8, 'Vancouver', 'true', 'styles/cite_Vancouver.php', 'A110', 1),
  333. (9, 'Ann Glaciol', 'true', 'styles/cite_AnnGlaciol_JGlaciol.php', 'B010', 1),
  334. (10, 'Deep Sea Res', 'true', 'styles/cite_DeepSeaRes.php', 'B020', 1),
  335. (11, 'J Glaciol', 'true', 'styles/cite_AnnGlaciol_JGlaciol.php', 'B030', 1),
  336. (12, 'Mar Biol', 'true', 'styles/cite_PolarBiol_MarBiol_MEPS.php', 'B040', 1),
  337. (13, 'MEPS', 'true', 'styles/cite_PolarBiol_MarBiol_MEPS.php', 'B050', 1),
  338. (14, 'Polar Biol', 'true', 'styles/cite_PolarBiol_MarBiol_MEPS.php', 'B060', 1),
  339. (15, 'Text Citation', 'true', 'styles/cite_TextCitation.php', 'C010', 1);
  340. # --------------------------------------------------------
  341. #
  342. # table structure for table `types`
  343. #
  344. DROP TABLE IF EXISTS `types`;
  345. CREATE TABLE `types` (
  346. `type_id` mediumint(8) unsigned NOT NULL auto_increment,
  347. `type_name` varchar(100) default NULL,
  348. `type_enabled` enum('true','false') NOT NULL default 'true',
  349. `base_type_id` mediumint(8) unsigned default NULL,
  350. `order_by` varchar(25) default NULL,
  351. PRIMARY KEY (`type_id`),
  352. KEY `type_name` (`type_name`)
  353. ) ENGINE=MyISAM;
  354. #
  355. # data for table `types`
  356. #
  357. INSERT INTO `types` VALUES (1, 'Journal Article', 'true', 1, '01'),
  358. (2, 'Abstract', 'true', 2, '02'),
  359. (3, 'Book Chapter', 'true', 2, '03'),
  360. (4, 'Book Whole', 'true', 3, '04'),
  361. (5, 'Conference Article', 'true', 2, '05'),
  362. (6, 'Conference Volume', 'true', 3, '06'),
  363. (7, 'Journal', 'true', 3, '07'),
  364. (8, 'Magazine Article', 'true', 1, '08'),
  365. (9, 'Manual', 'true', 3, '09'),
  366. (10, 'Manuscript', 'true', 3, '10'),
  367. (11, 'Map', 'true', 3, '11'),
  368. (12, 'Miscellaneous', 'true', 3, '12'),
  369. (13, 'Newspaper Article', 'true', 1, '13'),
  370. (14, 'Patent', 'true', 3, '14'),
  371. (15, 'Report', 'true', 3, '15'),
  372. (16, 'Software', 'true', 3, '16');
  373. # --------------------------------------------------------
  374. #
  375. # table structure for table `user_data`
  376. #
  377. DROP TABLE IF EXISTS `user_data`;
  378. CREATE TABLE `user_data` (
  379. `data_id` mediumint(8) unsigned NOT NULL auto_increment,
  380. `user_id` mediumint(8) unsigned NOT NULL default '0',
  381. `record_id` mediumint(8) unsigned NOT NULL default '0',
  382. `marked` enum('no','yes') NOT NULL default 'no',
  383. `copy` enum('false','true','ordered','fetch') NOT NULL default 'false',
  384. `selected` enum('no','yes') NOT NULL default 'no',
  385. `user_keys` text,
  386. `user_notes` text,
  387. `user_file` varchar(255) default NULL,
  388. `user_groups` text,
  389. `cite_key` varchar(255) default NULL,
  390. `related` text,
  391. PRIMARY KEY (`data_id`),
  392. KEY `user_id` (`user_id`,`record_id`)
  393. ) ENGINE=MyISAM;
  394. #
  395. # data for table `user_data`
  396. #
  397. INSERT INTO `user_data` VALUES (1, 1, 1, 'no', 'true', 'no', 'Oxygen; Environmental Impact; Crustacea; Amphipoda', '', '', '', NULL, NULL),
  398. (2, 1, 2, 'yes', 'false', 'no', 'Modeling; NAO; Ice Export; Ice Transport; Ice Thickness; Ice Extent / Cover; Ice Concentration; Ice Drift', 'Dissertation 2001, Mathematisch-Naturwissenschaftliche Fakult�t der CAU Kiel', '', '', '', ''),
  399. (3, 1, 3, 'no', 'true', 'no', 'Isotopes; Pelagic-Benthic Coupling; Polynya; Primary Production', '', '', 'Ecology; Primary Production; Stable Isotopes', '', 'orig_record RLIKE "^-?3$"'),
  400. (4, 1, 4, 'yes', 'true', 'no', '', '', '', 'Ecology; Stable Isotopes', '', 'user_groups:Ecology'),
  401. (5, 1, 5, 'no', 'fetch', 'no', '', '', '', '', '', ''),
  402. (6, 1, 6, 'no', 'false', 'no', '', '', '', 'Ice', '', ''),
  403. (7, 1, 7, 'yes', 'fetch', 'yes', '', '', '', 'Ice', NULL, NULL),
  404. (8, 1, 8, 'no', 'false', 'no', '', '', '', NULL, NULL, NULL),
  405. (9, 1, 9, 'no', 'false', 'no', '', '', '', '', NULL, NULL),
  406. (10, 1, 10, 'no', 'false', 'no', '', '', '', 'Ecology; Primary Production; Stable Isotopes', '', '3'),
  407. (11, 1, 11, 'no', 'false', 'no', NULL, NULL, NULL, 'Ecology; Stable Isotopes', NULL, NULL),
  408. (12, 1, 12, 'no', 'false', 'no', '', '', '', '', '', '');
  409. # --------------------------------------------------------
  410. #
  411. # table structure for table `user_formats`
  412. #
  413. DROP TABLE IF EXISTS `user_formats`;
  414. CREATE TABLE `user_formats` (
  415. `user_format_id` mediumint(8) unsigned NOT NULL auto_increment,
  416. `format_id` mediumint(8) unsigned NOT NULL default '0',
  417. `user_id` mediumint(8) unsigned NOT NULL default '0',
  418. `show_format` enum('true','false') NOT NULL default 'true',
  419. PRIMARY KEY (`user_format_id`),
  420. KEY `format_id` (`format_id`,`user_id`)
  421. ) ENGINE=MyISAM;
  422. #
  423. # data for table `user_formats`
  424. #
  425. INSERT INTO `user_formats` VALUES (1, 1, 0, 'false'),
  426. (2, 2, 0, 'true'),
  427. (3, 3, 0, 'false'),
  428. (4, 4, 0, 'false'),
  429. (5, 5, 0, 'true'),
  430. (6, 6, 0, 'false'),
  431. (7, 7, 0, 'false'),
  432. (8, 8, 0, 'true'),
  433. (9, 9, 0, 'false'),
  434. (10, 10, 0, 'false'),
  435. (11, 11, 0, 'false'),
  436. (12, 12, 0, 'true'),
  437. (13, 13, 0, 'false'),
  438. (14, 14, 0, 'true'),
  439. (15, 15, 0, 'false'),
  440. (16, 16, 0, 'false'),
  441. (17, 18, 0, 'true'),
  442. (18, 19, 0, 'true'),
  443. (19, 20, 0, 'true'),
  444. (20, 21, 0, 'true'),
  445. (21, 22, 0, 'true'),
  446. (22, 23, 0, 'true'),
  447. (23, 26, 0, 'false'),
  448. (24, 27, 0, 'false'),
  449. (25, 28, 0, 'true'),
  450. (26, 30, 0, 'false'),
  451. (27, 31, 0, 'false'),
  452. (28, 1, 1, 'true'),
  453. (29, 2, 1, 'true'),
  454. (30, 3, 1, 'false'),
  455. (31, 4, 1, 'true'),
  456. (32, 5, 1, 'true'),
  457. (33, 6, 1, 'true'),
  458. (34, 7, 1, 'true'),
  459. (35, 8, 1, 'true'),
  460. (36, 9, 1, 'true'),
  461. (37, 10, 1, 'true'),
  462. (38, 11, 1, 'true'),
  463. (39, 12, 1, 'true'),
  464. (40, 13, 1, 'true'),
  465. (41, 14, 1, 'true'),
  466. (42, 15, 1, 'true'),
  467. (43, 16, 1, 'true'),
  468. (44, 18, 1, 'true'),
  469. (45, 19, 1, 'true'),
  470. (46, 20, 1, 'true'),
  471. (47, 21, 1, 'true'),
  472. (48, 22, 1, 'true'),
  473. (49, 23, 1, 'true'),
  474. (50, 24, 1, 'true'),
  475. (51, 25, 1, 'true'),
  476. (52, 26, 1, 'true'),
  477. (53, 27, 1, 'true'),
  478. (54, 28, 1, 'true'),
  479. (55, 29, 1, 'true'),
  480. (56, 30, 1, 'true'),
  481. (57, 31, 1, 'true');
  482. # --------------------------------------------------------
  483. #
  484. # table structure for table `user_options`
  485. #
  486. DROP TABLE IF EXISTS `user_options`;
  487. CREATE TABLE `user_options` (
  488. `option_id` mediumint(8) unsigned NOT NULL auto_increment,
  489. `user_id` mediumint(8) unsigned NOT NULL default '0',
  490. `export_cite_keys` enum('yes','no') NOT NULL default 'yes',
  491. `autogenerate_cite_keys` enum('yes','no') NOT NULL default 'yes',
  492. `prefer_autogenerated_cite_keys` enum('no','yes') NOT NULL default 'no',
  493. `use_custom_cite_key_format` enum('no','yes') NOT NULL default 'no',
  494. `cite_key_format` varchar(255) default NULL,
  495. `uniquify_duplicate_cite_keys` enum('yes','no') NOT NULL default 'yes',
  496. `nonascii_chars_in_cite_keys` enum('transliterate','strip','keep') default NULL,
  497. `use_custom_text_citation_format` enum('no','yes') NOT NULL default 'no',
  498. `text_citation_format` varchar(255) default NULL,
  499. `records_per_page` smallint(5) unsigned default NULL,
  500. `show_auto_completions` enum('yes','no') NOT NULL default 'yes',
  501. `main_fields` text,
  502. PRIMARY KEY (`option_id`),
  503. KEY `user_id` (`user_id`)
  504. ) ENGINE=MyISAM;
  505. #
  506. # data for table `user_options`
  507. #
  508. INSERT INTO `user_options` VALUES (1, 0, 'yes', 'yes', 'no', 'no', '<:authors:><:year:>', 'yes', NULL, 'no', '<:authors[2| & | et al.]:>< :year:>< {:recordIdentifier:}>', NULL, 'yes', 'author, title, publication, keywords, abstract'),
  509. (2, 1, 'yes', 'yes', 'no', 'no', '<:firstAuthor:><:year:>', 'yes', NULL, 'no', '<:authors[2| & | et al.]:>< :year:>< {:recordIdentifier:}>', NULL, 'yes', 'author, title, publication, keywords, abstract');
  510. # --------------------------------------------------------
  511. #
  512. # table structure for table `user_permissions`
  513. #
  514. DROP TABLE IF EXISTS `user_permissions`;
  515. CREATE TABLE `user_permissions` (
  516. `user_permission_id` mediumint(8) unsigned NOT NULL auto_increment,
  517. `user_id` mediumint(8) unsigned NOT NULL default '0',
  518. `allow_add` enum('yes','no') NOT NULL default 'yes',
  519. `allow_edit` enum('yes','no') NOT NULL default 'yes',
  520. `allow_delete` enum('yes','no') NOT NULL default 'yes',
  521. `allow_download` enum('yes','no') NOT NULL default 'yes',
  522. `allow_upload` enum('yes','no') NOT NULL default 'yes',
  523. `allow_list_view` enum('yes','no') NOT NULL default 'yes',
  524. `allow_details_view` enum('yes','no') NOT NULL default 'yes',
  525. `allow_print_view` enum('yes','no') NOT NULL default 'yes',
  526. `allow_browse_view` enum('yes','no') NOT NULL default 'yes',
  527. `allow_cite` enum('yes','no') NOT NULL default 'yes',
  528. `allow_import` enum('yes','no') NOT NULL default 'yes',
  529. `allow_batch_import` enum('yes','no') NOT NULL default 'yes',
  530. `allow_export` enum('yes','no') NOT NULL default 'yes',
  531. `allow_batch_export` enum('yes','no') NOT NULL default 'yes',
  532. `allow_user_groups` enum('yes','no') NOT NULL default 'yes',
  533. `allow_user_queries` enum('yes','no') NOT NULL default 'yes',
  534. `allow_rss_feeds` enum('yes','no') NOT NULL default 'yes',
  535. `allow_sql_search` enum('yes','no') NOT NULL default 'yes',
  536. `allow_modify_options` enum('yes','no') NOT NULL default 'yes',
  537. `allow_edit_call_number` enum('no','yes') NOT NULL default 'no',
  538. PRIMARY KEY (`user_permission_id`),
  539. KEY `user_id` (`user_id`)
  540. ) ENGINE=MyISAM;
  541. #
  542. # data for table `user_permissions`
  543. #
  544. INSERT INTO `user_permissions` VALUES (1, 0, 'no', 'no', 'no', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'no', 'no', 'yes', 'no', 'no', 'no'),
  545. (2, 1, 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'no');
  546. # --------------------------------------------------------
  547. #
  548. # table structure for table `user_styles`
  549. #
  550. DROP TABLE IF EXISTS `user_styles`;
  551. CREATE TABLE `user_styles` (
  552. `user_style_id` mediumint(8) unsigned NOT NULL auto_increment,
  553. `style_id` mediumint(8) unsigned NOT NULL default '0',
  554. `user_id` mediumint(8) unsigned NOT NULL default '0',
  555. `show_style` enum('true','false') NOT NULL default 'true',
  556. PRIMARY KEY (`user_style_id`),
  557. KEY `style_id` (`style_id`,`user_id`)
  558. ) ENGINE=MyISAM;
  559. #
  560. # data for table `user_styles`
  561. #
  562. INSERT INTO `user_styles` VALUES (1, 1, 0, 'true'),
  563. (2, 2, 0, 'true'),
  564. (3, 3, 0, 'true'),
  565. (4, 4, 0, 'true'),
  566. (5, 5, 0, 'true'),
  567. (6, 6, 0, 'true'),
  568. (7, 7, 0, 'true'),
  569. (8, 8, 0, 'true'),
  570. (9, 10, 0, 'true'),
  571. (10, 11, 0, 'true'),
  572. (11, 12, 0, 'true'),
  573. (12, 15, 0, 'true'),
  574. (13, 1, 1, 'true'),
  575. (14, 2, 1, 'true'),
  576. (15, 3, 1, 'true'),
  577. (16, 4, 1, 'true'),
  578. (17, 5, 1, 'true'),
  579. (18, 6, 1, 'true'),
  580. (19, 7, 1, 'true'),
  581. (20, 8, 1, 'true'),
  582. (21, 10, 1, 'true'),
  583. (22, 11, 1, 'true'),
  584. (23, 12, 1, 'true'),
  585. (24, 15, 1, 'true');
  586. # --------------------------------------------------------
  587. #
  588. # table structure for table `user_types`
  589. #
  590. DROP TABLE IF EXISTS `user_types`;
  591. CREATE TABLE `user_types` (
  592. `user_type_id` mediumint(8) unsigned NOT NULL auto_increment,
  593. `type_id` mediumint(8) unsigned NOT NULL default '0',
  594. `user_id` mediumint(8) unsigned NOT NULL default '0',
  595. `show_type` enum('true','false') NOT NULL default 'true',
  596. PRIMARY KEY (`user_type_id`),
  597. KEY `type_id` (`type_id`,`user_id`)
  598. ) ENGINE=MyISAM;
  599. #
  600. # data for table `user_types`
  601. #
  602. INSERT INTO `user_types` VALUES (1, 1, 1, 'true'),
  603. (2, 2, 1, 'true'),
  604. (3, 3, 1, 'true'),
  605. (4, 4, 1, 'true'),
  606. (5, 5, 1, 'true'),
  607. (6, 6, 1, 'true'),
  608. (7, 7, 1, 'true'),
  609. (8, 8, 1, 'true'),
  610. (9, 9, 1, 'true'),
  611. (10, 10, 1, 'true'),
  612. (11, 11, 1, 'true'),
  613. (12, 12, 1, 'true'),
  614. (13, 13, 1, 'true'),
  615. (14, 14, 1, 'true'),
  616. (15, 15, 1, 'true'),
  617. (16, 16, 1, 'true'),
  618. (17, 1, 0, 'true'),
  619. (18, 2, 0, 'true'),
  620. (19, 3, 0, 'true'),
  621. (20, 4, 0, 'true'),
  622. (21, 5, 0, 'true'),
  623. (22, 6, 0, 'true'),
  624. (23, 7, 0, 'true'),
  625. (24, 8, 0, 'true'),
  626. (25, 9, 0, 'true'),
  627. (26, 10, 0, 'true'),
  628. (27, 11, 0, 'true'),
  629. (28, 12, 0, 'true'),
  630. (29, 13, 0, 'true'),
  631. (30, 14, 0, 'true'),
  632. (31, 15, 0, 'true'),
  633. (32, 16, 0, 'true');
  634. # --------------------------------------------------------
  635. #
  636. # table structure for table `users`
  637. #
  638. DROP TABLE IF EXISTS `users`;
  639. CREATE TABLE `users` (
  640. `first_name` varchar(50) default NULL,
  641. `last_name` varchar(50) default NULL,
  642. `title` varchar(25) default NULL,
  643. `institution` varchar(255) default NULL,
  644. `abbrev_institution` varchar(25) default NULL,
  645. `corporate_institution` varchar(255) default NULL,
  646. `address_line_1` varchar(50) default NULL,
  647. `address_line_2` varchar(50) default NULL,
  648. `address_line_3` varchar(50) default NULL,
  649. `zip_code` varchar(25) default NULL,
  650. `city` varchar(40) default NULL,
  651. `state` varchar(50) default NULL,
  652. `country` varchar(40) default NULL,
  653. `phone` varchar(50) default NULL,
  654. `email` varchar(50) default NULL,
  655. `url` varchar(255) default NULL,
  656. `keywords` text,
  657. `notes` text,
  658. `last_login` datetime default NULL,
  659. `logins` mediumint(8) unsigned default NULL,
  660. `language` varchar(50) default 'en',
  661. `user_id` mediumint(8) unsigned NOT NULL auto_increment,
  662. `user_groups` text,
  663. `marked` enum('no','yes') NOT NULL default 'no',
  664. `created_date` date default NULL,
  665. `created_time` time default NULL,
  666. `created_by` varchar(100) default NULL,
  667. `modified_date` date default NULL,
  668. `modified_time` time default NULL,
  669. `modified_by` varchar(100) default NULL,
  670. PRIMARY KEY (`user_id`)
  671. ) ENGINE=MyISAM;
  672. #
  673. # data for table `users`
  674. #
  675. INSERT INTO `users` VALUES ('Initial', 'refbase user', 'Mr', '', 'refbase', '', '', '', '', '', '', '', '', '', 'user@refbase.net', 'http://www.refbase.net/', NULL, NULL, '2004-11-01 12:00:00', 0, 'en', 1, NULL, 'no', '2004-11-01', '12:00:00', 'Initial refbase user (user@refbase.net)', '2004-11-01', '12:00:00', 'Initial refbase user (user@refbase.net)');