Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips-library/IRview/sql/mysql.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Nov 6 01:29:26 2006 UTC (17 years, 5 months ago) by yamaji
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
initial import into CVS

1 # $Revision: 1.3 $
2 # ------------------------------------------------------------------------
3 #
4 # OAI-PMH based Institutional Repository Introduction Module
5 # Copyright (C) 2005 Kazutsuna YAMAJI. All rights reserved.
6 #
7 # ------------------------------------------------------------------------
8 #
9 # Table structure for table `irview_data`
10 #
11
12 #CREATE TABLE irview_data (
13 # irview_id int unsigned NOT NULL auto_increment,
14 # irview_name tinytext NOT NULL default '',
15 # PRIMARY KEY (irview_id)
16 #) TYPE=MyISAM;
17
18 CREATE TABLE `irview_resumption_token` (
19 `resumption_token` varchar(255) NOT NULL default '',
20 `metadata_prefix` varchar(255) default NULL,
21 `verb` varchar(32) default NULL,
22 `args` text,
23 `last_item_id` int(11) default NULL,
24 `limit_row` int(11) default NULL,
25 `publish_date` int(11) default NULL,
26 `expire_date` int(11) default NULL,
27 PRIMARY KEY (`resumption_token`)
28 );
29
30
31 CREATE TABLE `irview_repositories` (
32 `repository_id` int(11) unsigned NOT NULL auto_increment,
33 `repository_name` varchar(255) default NULL,
34 `URL` varchar(255) default NULL,
35 `metadata_formats` varchar(255) default NULL,
36 `last_access_date` int(11) unsigned default NULL,
37 `last_success_date` int(11) unsigned default NULL,
38 `last_access_result` text,
39 `sort` int(10) unsigned NOT NULL default '0',
40 `enabled` int(1) unsigned NOT NULL default '1',
41 `deleted` int(1) unsigned NOT NULL default '0',
42 `record_graph` blob,
43 PRIMARY KEY (`repository_id`),
44 UNIQUE KEY `url` (`URL`)
45 );
46
47 CREATE TABLE `irview_metadata` (
48 `identifier` varchar(255) NOT NULL default '',
49 `repository_id` int(11) unsigned NOT NULL default '0',
50 `format` varchar(255) NOT NULL default '',
51 `metadata` blob,
52 `title` text,
53 `search_text` text,
54 `datestamp` int(11) unsigned default NULL,
55 PRIMARY KEY (`identifier`),
56 FULLTEXT KEY `search` (`search_text`)
57 );
58
59

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26