Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips-library/xnpphoto/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)
Wed Jul 5 08:06:49 2006 UTC (17 years, 9 months ago) by ken_ko
Branch: MAIN, keio
CVS Tags: v1, HEAD
Changes since 1.1: +0 -0 lines
It's initial registration of a photograph item type:xnpphoto.

1 #
2 # $Revision: $
3 #
4 # Table structure for table `xnpphoto_item_detail`
5 #
6
7 CREATE TABLE xnpphoto_item_detail (
8 photo_id int(10) unsigned NOT NULL,
9 title varchar(255) default NULL,
10 title_translation varchar(255) default NULL,
11 title_kana varchar(255) default NULL,
12 title_romaji varchar(255) default NULL,
13 journal varchar(255) default NULL,
14 journal_translation varchar(255) default NULL,
15 volume varchar(30),
16 number varchar(30),
17 page varchar(30),
18 publisher varchar(255),
19 issn char(24),
20 isbn char(24),
21 abstract text,
22 lang char(3) default 'eng',
23 physical_description text,
24 type_of_resource text,
25 genre varchar(255) default NULL,
26 link varchar(255) default NULL,
27 PRIMARY KEY (photo_id)
28 ) TYPE=MyISAM;
29
30 CREATE TABLE xnpphoto_item_detail_child_author (
31 photo_child_author_id int(10) unsigned NOT NULL AUTO_INCREMENT,
32 photo_id int(10) unsigned NOT NULL,
33 author_name varchar(255) NOT NULL,
34 author_romaji varchar(255) NOT NULL,
35 author_affiliation varchar(255) NOT NULL,
36 author_affiliation_translation varchar(255) NOT NULL,
37 author_order int(10) unsigned,
38 PRIMARY KEY (photo_child_author_id)
39 ) TYPE=MyISAM;
40
41 CREATE TABLE xnpphoto_item_detail_child_keywords (
42 photo_child_keywords_id int(10) unsigned NOT NULL AUTO_INCREMENT,
43 photo_id int(10) unsigned NOT NULL,
44 keywords text,
45 keywords_order int(10) unsigned,
46 PRIMARY KEY (photo_child_keywords_id)
47 ) TYPE=MyISAM;
48
49 CREATE TABLE xnpphoto_item_detail_child_free_keywords (
50 photo_child_free_keywords_id int(10) unsigned NOT NULL AUTO_INCREMENT,
51 photo_id int(10) unsigned NOT NULL,
52 free_keywords text,
53 free_keywords_order int(10) unsigned,
54 PRIMARY KEY (photo_child_free_keywords_id)
55 ) TYPE=MyISAM;

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