Addresses #394, Add generic item types

Add Document item type.  Just the type -- no magical properties for now.

Fields: title, publisher, date, and the globals (callNumber, archiveLocation, repository, rights, url, accessDate, extra). 
Creator types: author, contributor, editor, translator, reviewedAuthor (should these all be here?)
This commit is contained in:
Dan Stillman 2007-01-02 12:19:00 +00:00
parent 0f818079bd
commit 0abda111a6
2 changed files with 16 additions and 0 deletions

View File

@ -100,6 +100,7 @@ itemTypes.radioBroadcast = Radio Broadcast
itemTypes.podcast = Podcast
itemTypes.computerProgram = Computer Program
itemTypes.conferencePaper = Conference Paper
itemTypes.document = Document
itemFields.itemType = Type
itemFields.title = Title

View File

@ -153,6 +153,7 @@ INSERT INTO itemTypes VALUES (30,'radioBroadcast',NULL,1);
INSERT INTO itemTypes VALUES (31,'podcast',NULL,1);
INSERT INTO itemTypes VALUES (32,'computerProgram',NULL,1);
INSERT INTO itemTypes VALUES (33,'conferencePaper',NULL,1);
INSERT INTO itemTypes VALUES (34,'document',NULL,2);
INSERT INTO fields VALUES (1,'url',NULL);
INSERT INTO fields VALUES (2,'rights',NULL);
@ -590,6 +591,15 @@ INSERT INTO itemTypeFields VALUES (33, 2, NULL, 13);
INSERT INTO itemTypeFields VALUES (33, 1, NULL, 14);
INSERT INTO itemTypeFields VALUES (33, 27, NULL, 15);
INSERT INTO itemTypeFields VALUES (33, 22, NULL, 16);
INSERT INTO itemTypeFields VALUES (34, 8, NULL, 1);
INSERT INTO itemTypeFields VALUES (34, 14, NULL, 2);
INSERT INTO itemTypeFields VALUES (34, 18, NULL, 3);
INSERT INTO itemTypeFields VALUES (34, 19, NULL, 4);
INSERT INTO itemTypeFields VALUES (34, 62, NULL, 5);
INSERT INTO itemTypeFields VALUES (34, 2, NULL, 6);
INSERT INTO itemTypeFields VALUES (34, 1, NULL, 7);
INSERT INTO itemTypeFields VALUES (34, 27, NULL, 8);
INSERT INTO itemTypeFields VALUES (34, 22, NULL, 9);
INSERT INTO creatorTypes VALUES(1, "author");
@ -725,6 +735,11 @@ INSERT INTO itemTypeCreatorTypes VALUES(33, 2, 0);
INSERT INTO itemTypeCreatorTypes VALUES(33, 3, 0);
INSERT INTO itemTypeCreatorTypes VALUES(33, 4, 0);
INSERT INTO itemTypeCreatorTypes VALUES(33, 5, 0);
INSERT INTO itemTypeCreatorTypes VALUES(34,1,1);
INSERT INTO itemTypeCreatorTypes VALUES(34,2,0);
INSERT INTO itemTypeCreatorTypes VALUES(34,3,0);
INSERT INTO itemTypeCreatorTypes VALUES(34,4,0);
INSERT INTO itemTypeCreatorTypes VALUES(34,27,0);
INSERT INTO "fileTypes" VALUES(1, 'webpage');