Fixed typo in synopsis.
[koha.git] / database.mysql
1 # MySQL dump 7.1
2 #
3 # Host: localhost    Database: c4test
4 #--------------------------------------------------------
5 # Server version        3.22.32-log
6
7 #
8 # Table structure for table 'accountlines'
9 #
10 CREATE TABLE accountlines (
11   borrowernumber int(11) DEFAULT '0' NOT NULL,
12   accountno smallint(6) DEFAULT '0' NOT NULL,
13   itemnumber int(11),
14   date date,
15   amount decimal(28,6),
16   description text,
17   dispute text,
18   accounttype varchar(5),
19   amountoutstanding decimal(28,6),
20   timestamp timestamp(14),
21   KEY acctsborridx (borrowernumber),
22   KEY timeidx (timestamp)
23 );
24
25 #
26 # Table structure for table 'accountoffsets'
27 #
28 CREATE TABLE accountoffsets (
29   borrowernumber int(11) DEFAULT '0' NOT NULL,
30   accountno smallint(6) DEFAULT '0' NOT NULL,
31   offsetaccount smallint(6) DEFAULT '0' NOT NULL,
32   offsetamount decimal(28,6),
33   timestamp timestamp(14)
34 );
35
36 #
37 # Table structure for table 'additionalauthors'
38 #
39 CREATE TABLE additionalauthors (
40   author text NOT NULL,
41   biblionumber int(11) DEFAULT '0' NOT NULL,
42   KEY bibidx (biblionumber)
43 );
44
45 #
46 # Table structure for table 'aqbookfund'
47 #
48 CREATE TABLE aqbookfund (
49   bookfundid varchar(5) DEFAULT '' NOT NULL,
50   bookfundname text,
51   bookfundgroup varchar(5)
52 );
53
54 #
55 # Table structure for table 'aqbooksellers'
56 #
57 CREATE TABLE aqbooksellers (
58   id int(11),
59   name text,
60   address1 text,
61   address2 text,
62   address3 text,
63   address4 text,
64   phone varchar(30),
65   accountnumber text,
66   othersupplier text,
67   currency char(3) DEFAULT '' NOT NULL,
68   deliverydays smallint(6),
69   followupdays smallint(6),
70   followupscancel smallint(6),
71   specialty text,
72   booksellerfax text,
73   notes text,
74   bookselleremail text,
75   booksellerurl text,
76   contact varchar(100),
77   postal text,
78   url varchar(255),
79   contpos varchar(100),
80   contphone varchar(100),
81   contfax varchar(100),
82   contaltphone varchar(100),
83   contemail varchar(100),
84   contnotes text,
85   active tinyint(4),
86   listprice varchar(5),
87   invoiceprice varchar(5),
88   gstreg tinyint(4),
89   listincgst tinyint(4),
90   invoiceincgst tinyint(4),
91   discount float(6,4),
92   fax varchar(50)
93 );
94
95 #
96 # Table structure for table 'aqbudget'
97 #
98 CREATE TABLE aqbudget (
99   bookfundid char(5) DEFAULT '' NOT NULL,
100   startdate date DEFAULT '0000-00-00' NOT NULL,
101   enddate date,
102   budgetamount decimal(13,2)
103 );
104
105 #
106 # Table structure for table 'aqorderbreakdown'
107 #
108 CREATE TABLE aqorderbreakdown (
109   ordernumber int(11),
110   linenumber int(11),
111   branchcode char(4),
112   bookfundid char(5) DEFAULT '' NOT NULL,
113   allocation smallint(6)
114 );
115
116 #
117 # Table structure for table 'aqorderdelivery'
118 #
119 CREATE TABLE aqorderdelivery (
120   ordernumber date DEFAULT '0000-00-00' NOT NULL,
121   deliverynumber smallint(6) DEFAULT '0' NOT NULL,
122   deliverydate varchar(18),
123   qtydelivered smallint(6),
124   deliverycomments text
125 );
126
127 #
128 # Table structure for table 'aqorders'
129 #
130 CREATE TABLE aqorders (
131   ordernumber int(11) NOT NULL auto_increment,
132   biblionumber int(11) default NULL,
133   title text,
134   requisitionedby varchar(10) default NULL,
135   authorisedby varchar(10) default NULL,
136   booksellerid varchar(10) NOT NULL default '',
137   deliverydays smallint(6) default NULL,
138   followupdays smallint(6) default NULL,
139   numberfollowupsallowed smallint(6) default NULL,
140   numberfollowupssent smallint(6) default NULL,
141   entrydate date default NULL,
142   dateprinted date default NULL,
143   quantity smallint(6) default NULL,
144   currency char(3) default NULL,
145   listprice decimal(28,6) default NULL,
146   totalamount decimal(28,6) default NULL,
147   datereceived date default NULL,
148   booksellerinvoicenumber text,
149   freight decimal(28,6) default NULL,
150   unitprice decimal(28,6) default NULL,
151   quantityreceived smallint(6) default NULL,
152   sourced text,
153   cancelledby varchar(10) default NULL,
154   quantityreceiveddamaged smallint(6) default NULL,
155   datecancellationprinted date default NULL,
156   notes text,
157   supplierreference text,
158   purchaseordernumber text,
159   subscription tinyint(1) default NULL,
160   subscriptionfrom date default NULL,
161   subscriptionto date default NULL,
162   serialid varchar(30) default NULL,
163   basketno int(11) default NULL,
164   biblioitemnumber int(11) default NULL,
165   timestamp timestamp(14) NOT NULL,
166   rrp decimal(13,2) default NULL,
167   ecost decimal(13,2) default NULL,
168   gst decimal(13,2) default NULL,
169   PRIMARY KEY  (ordernumber),
170   KEY booksellerid (booksellerid),
171   KEY biblionumber (biblionumber),
172   KEY biblioitemnumber (biblioitemnumber),
173   KEY biblioitemnumber_2 (biblioitemnumber)
174 ) TYPE=MyISAM;
175
176 #
177 # Table structure for table 'biblio'
178 #
179 CREATE TABLE biblio (
180   biblionumber int(11) DEFAULT '0' NOT NULL,
181   author text,
182   title text,
183   unititle text,
184   notes text,
185   abstract text,
186   serial tinyint(1),
187   seriestitle text,
188   copyrightdate smallint(6),
189   timestamp timestamp(14),
190   KEY blbnoidx (biblionumber),
191   PRIMARY KEY (biblionumber)
192 );
193
194 #
195 # Table structure for table 'biblioanalysis'
196 #
197 CREATE TABLE biblioanalysis (
198   analyticaltitle text,
199   biblionumber int(11) DEFAULT '0' NOT NULL,
200   analyticalauthor text
201 );
202
203 #
204 # Table structure for table 'biblioitems'
205 #
206 CREATE TABLE biblioitems (
207   biblioitemnumber int(11) DEFAULT '0' NOT NULL,
208   biblionumber int(11) DEFAULT '0' NOT NULL,
209   volume text,
210   number text,
211   classification varchar(25),
212   itemtype varchar(4),
213   url varchar(255),
214   isbn varchar(14),
215   issn varchar(9),
216   dewey double(8,6),
217   subclass char(3),
218   publicationyear smallint(6),
219   publishercode varchar(255),
220   volumedate date,
221   volumeddesc varchar(255),
222   timestamp timestamp(14),
223   illus varchar(255),
224   pages varchar(255),
225   notes text,
226   size varchar(255),
227   place varchar(255),
228   KEY bibinoidx (biblioitemnumber),
229   KEY bibnoidx (biblionumber),
230   PRIMARY KEY (biblioitemnumber)
231 );
232
233 #
234 # Table structure for table 'bibliosubject'
235 #
236 CREATE TABLE bibliosubject (
237   subject text NOT NULL,
238   biblionumber int(11) DEFAULT '0' NOT NULL
239 );
240
241 #
242 # Table structure for table 'bibliosubtitle'
243 #
244 CREATE TABLE bibliosubtitle (
245   subtitle text NOT NULL,
246   biblionumber int(11) DEFAULT '0' NOT NULL,
247   KEY bibsubidx (biblionumber)
248 );
249
250 #
251 # Table structure for table 'borexp'
252 #
253 CREATE TABLE borexp (
254   borrowernumber int(11),
255   newexp date
256 );
257
258 #
259 # Table structure for table 'borrowers'
260 #
261 CREATE TABLE borrowers (
262   borrowernumber int(11) DEFAULT '0' NOT NULL,
263   cardnumber varchar(9) DEFAULT '' NOT NULL,
264   surname text NOT NULL,
265   firstname text NOT NULL,
266   title text,
267   othernames text,
268   initials text NOT NULL,
269   streetaddress text NOT NULL,
270   suburb text,
271   city text NOT NULL,
272   phone text NOT NULL,
273   emailaddress text,
274   faxnumber text,
275   altstreetaddress text,
276   altsuburb text,
277   altcity text,
278   altphone text,
279   dateofbirth date,
280   branchcode varchar(4) DEFAULT '' NOT NULL,
281   categorycode char(2),
282   dateenrolled date,
283   gonenoaddress tinyint(1),
284   lost tinyint(1),
285   debarred tinyint(1),
286   studentnumber text,
287   school text,
288   contactname text,
289   borrowernotes text,
290   guarantor int(11),
291   area char(2),
292   ethnicity varchar(50),
293   ethnotes varchar(255),
294   sex char(1),
295   expiry date,
296   altnotes varchar(255),
297   altrelationship varchar(100),
298   streetcity text,
299   phoneday varchar(50),
300   preferredcont char(1),
301   physstreet varchar(100),
302   KEY borrowernumber (borrowernumber),
303   KEY cardnumber (cardnumber)
304 );
305
306 #
307 # Table structure for table 'branchcategories'
308 #
309 CREATE TABLE branchcategories (
310   categorycode char(2) DEFAULT '' NOT NULL,
311   categoryname text,
312   codedescription text,    
313   PRIMARY KEY (categorycode)   
314 );      
315
316 # Table structure for table 'branchrelations'   
317 #
318 CREATE TABLE branchrelations (
319   branchcode varchar(4) DEFAULT '' NOT NULL,
320   categorycode varchar(4) DEFAULT '' NOT NULL  
321 );
322
323 #
324 # Table structure for table 'branches'
325 #
326 CREATE TABLE branches (
327   branchcode varchar(4) DEFAULT '' NOT NULL,
328   branchname text NOT NULL,
329   branchaddress1 text,
330   branchaddress2 text,
331   branchaddress3 text,
332   branchphone text,
333   branchfax text,
334   branchemail text,
335   issuing tinyint(4),
336   UNIQUE branchcode (branchcode)
337 );
338
339 #
340 # Table structure for table 'branchtransfers'
341 # The date sent and datearrived fields are datetime not just date
342 #
343 CREATE TABLE branchtransfers (
344   itemnumber int(11) DEFAULT '0' NOT NULL,
345   datesent datetime DEFAULT '0000-00-00' NOT NULL,
346   frombranch varchar(4),
347   datearrived datetime,
348   tobranch varchar(4),
349   comments text
350 );
351
352 #
353 # Table structure for table 'catalogueentry'
354 #
355 CREATE TABLE catalogueentry (
356   catalogueentry text NOT NULL,
357   entrytype char(2),
358   see text,
359   seealso text,
360   seeinstead text,
361   biblionumber int(11)
362 );
363
364 #
365 # Table structure for table 'categories'
366 #
367 CREATE TABLE categories (
368   categorycode char(2) DEFAULT '' NOT NULL,
369   description text,
370   enrolmentperiod smallint(6),
371   upperagelimit smallint(6),
372   dateofbirthrequired tinyint(1),
373   finetype varchar(30),
374   bulk tinyint(1),
375   enrolmentfee decimal(28,6),
376   overduenoticerequired tinyint(1),
377   issuelimit smallint(6),
378   reservefee decimal(28,6),
379   UNIQUE categorycode (categorycode)
380 );
381
382 #
383 # Table structure for table 'categoryitem'
384 #
385 CREATE TABLE categoryitem (
386   categorycode char(2) DEFAULT '' NOT NULL,
387   itemtype varchar(4) DEFAULT '' NOT NULL,
388   restrictedtype tinyint(1),
389   rentaldiscount decimal(28,6),
390   reservecharge decimal(28,6),
391   fine decimal(28,6),
392   firstremind int(11),
393   chargeperiod int(11),
394   accountsent int(11),
395   chargename varchar(100)
396 );
397
398 #
399 # Table structure for table 'classification'
400 #
401 CREATE TABLE classification (
402   classification varchar(12) DEFAULT '' NOT NULL
403 );
404
405 #
406 # Table structure for table 'currency'
407 #
408 CREATE TABLE currency (
409   currency varchar(10),
410   rate float(7,5)
411 );
412
413 #
414 # Table structure for table 'deletedbiblio'
415 #
416 CREATE TABLE deletedbiblio (
417   biblionumber int(11) DEFAULT '0' NOT NULL,
418   author text,
419   title text,
420   unititle text,
421   notes text,
422   abstract text,
423   serial tinyint(1),
424   seriestitle text,
425   copyrightdate smallint(6),
426   timestamp timestamp(14),
427   KEY blbnoidx (biblionumber),
428   PRIMARY KEY (biblionumber)
429 );
430
431 #
432 # Table structure for table 'deletedbiblioitems'
433 #
434 CREATE TABLE deletedbiblioitems (
435   biblioitemnumber int(11) DEFAULT '0' NOT NULL,
436   biblionumber int(11) DEFAULT '0' NOT NULL,
437   volume text,
438   number text,
439   classification varchar(25),
440   itemtype varchar(4),
441   isbn varchar(14),
442   issn varchar(9),
443   dewey double(8,6),
444   subclass char(3),
445   publicationyear smallint(6),
446   publishercode varchar(255),
447   volumedate date,
448   volumeddesc varchar(255),
449   timestamp timestamp(14),
450   illus varchar(255),
451   pages varchar(255),
452   notes text,
453   size varchar(255),
454   KEY bibinoidx (biblioitemnumber),
455   KEY bibnoidx (biblionumber),
456   PRIMARY KEY (biblioitemnumber)
457 );
458
459 #
460 # Table structure for table 'deletedborrowers'
461 #
462 CREATE TABLE deletedborrowers (
463   borrowernumber int(11) DEFAULT '0' NOT NULL,
464   cardnumber varchar(9) DEFAULT '' NOT NULL,
465   surname text NOT NULL,
466   firstname text NOT NULL,
467   title text,
468   othernames text,
469   initials text NOT NULL,
470   streetaddress text NOT NULL,
471   suburb text,
472   city text NOT NULL,
473   phone text NOT NULL,
474   emailaddress text,
475   faxnumber text,
476   altstreetaddress text,
477   altsuburb text,
478   altcity text,
479   altphone text,
480   dateofbirth date,
481   branchcode varchar(4) DEFAULT '' NOT NULL,
482   categorycode char(2),
483   dateenrolled date,
484   gonenoaddress tinyint(1),
485   lost tinyint(1),
486   debarred tinyint(1),
487   studentnumber text,
488   school text,
489   contactname text,
490   borrowernotes text,
491   guarantor int(11),
492   area char(2),
493   ethnicity varchar(50),
494   ethnotes varchar(255),
495   sex char(1),
496   expiry date,
497   altnotes varchar(255),
498   altrelationship varchar(100),
499   streetcity text,
500   phoneday varchar(50),
501   preferredcont varchar(100),
502   physstreet varchar(100),
503   KEY borrowernumber (borrowernumber),
504   KEY cardnumber (cardnumber)
505 );
506
507 #
508 # Table structure for table 'deleteditems'
509 #
510 CREATE TABLE deleteditems (
511   itemnumber int(11) DEFAULT '0' NOT NULL,
512   biblionumber int(11) DEFAULT '0' NOT NULL,
513   multivolumepart varchar(30),
514   biblioitemnumber int(11) DEFAULT '0' NOT NULL,
515   barcode varchar(9) DEFAULT '' NOT NULL,
516   dateaccessioned date,
517   booksellerid varchar(10),
518   homebranch varchar(4),
519   price decimal(28,6),
520   replacementprice decimal(28,6),
521   replacementpricedate date,
522   datelastborrowed date,
523   datelastseen date,
524   multivolume tinyint(1),
525   stack tinyint(1),
526   notforloan tinyint(1),
527   itemlost tinyint(1),
528   wthdrawn tinyint(1),
529   bulk varchar(30),
530   issues smallint(6),
531   renewals smallint(6),
532   reserves smallint(6),
533   restricted tinyint(1),
534   binding decimal(28,6),
535   itemnotes text,
536   holdingbranch varchar(4),
537   interim tinyint(1),
538   timestamp timestamp(14),
539   KEY itembarcodeidx (barcode),
540   KEY itembinoidx (biblioitemnumber),
541   KEY itembibnoidx (biblionumber),
542   PRIMARY KEY (itemnumber),
543   UNIQUE barcode (barcode)
544 );
545
546 #
547 # Table structure for table 'ethnicity'
548 #
549
550 CREATE TABLE ethnicity (
551   code varchar(10) NOT NULL default '',
552   name varchar(255) default NULL,
553   PRIMARY KEY  (code)
554 );      
555
556 #
557 # Table structure for table 'issues'
558 #
559 CREATE TABLE issues (
560   borrowernumber int(11) DEFAULT '0' NOT NULL,
561   itemnumber int(11) DEFAULT '0' NOT NULL,
562   date_due date,
563   branchcode char(4),
564   issuingbranch char(18),
565   returndate date,
566   lastreneweddate date,
567   return char(4),
568   renewals tinyint(4),
569   timestamp timestamp(14),
570   KEY issuesborridx (borrowernumber),
571   KEY issuesitemidx (itemnumber),
572   KEY bordate (borrowernumber,timestamp)
573 );
574
575 #
576 # Table structure for table 'items'
577 #
578 CREATE TABLE items (
579   itemnumber int(11) DEFAULT '0' NOT NULL,
580   biblionumber int(11) DEFAULT '0' NOT NULL,
581   multivolumepart varchar(30),
582   biblioitemnumber int(11) DEFAULT '0' NOT NULL,
583   barcode varchar(9) DEFAULT '' NOT NULL,
584   dateaccessioned date,
585   booksellerid varchar(10),
586   homebranch varchar(4),
587   price decimal(8,2),
588   replacementprice decimal(8,2),
589   replacementpricedate date,
590   datelastborrowed date,
591   datelastseen date,
592   multivolume tinyint(1),
593   stack tinyint(1),
594   notforloan tinyint(1),
595   itemlost tinyint(1),
596   wthdrawn tinyint(1),
597   bulk varchar(30),
598   issues smallint(6),
599   renewals smallint(6),
600   reserves smallint(6),
601   restricted tinyint(1),
602   binding decimal(28,6),
603   itemnotes text,
604   holdingbranch varchar(4),
605   paidfor text,
606   timestamp timestamp(14),
607   KEY itembarcodeidx (barcode),
608   KEY itembinoidx (biblioitemnumber),
609   KEY itembibnoidx (biblionumber),
610   PRIMARY KEY (itemnumber),
611   UNIQUE barcode (barcode)
612 );
613
614 #
615 # Table structure for table 'itemsprices'
616 #
617 CREATE TABLE itemsprices (
618   itemnumber int(11),
619   price1 decimal(28,6),
620   price2 decimal(28,6)
621 );
622
623 #
624 # Table structure for table 'itemtypes'
625 #
626 CREATE TABLE itemtypes (
627   itemtype varchar(4) DEFAULT '' NOT NULL,
628   description text,
629   loanlength smallint(6),
630   renewalsallowed smallint(6),
631   rentalcharge double(16,4),
632   UNIQUE itemtype (itemtype)
633 );
634
635 #
636 # Table structure for table 'multipart'
637 #
638 CREATE TABLE multipart (
639   itemnumber int(11) DEFAULT '0' NOT NULL,
640   other int(11) DEFAULT '0' NOT NULL
641 );
642
643 #
644 # Table structure for table 'multivolume'
645 #
646 CREATE TABLE multivolume (
647   biblionumber int(11) DEFAULT '0' NOT NULL,
648   multivolumepart varchar(30) DEFAULT '' NOT NULL
649 );
650
651 #
652 # Table structure for table 'newitems'
653 #
654 CREATE TABLE newitems (
655   itemnumber int(11) DEFAULT '0' NOT NULL,
656   publishercode varchar(18),
657   biblionumber int(11) DEFAULT '0' NOT NULL,
658   multivolumepart varchar(30),
659   barcode varchar(9) DEFAULT '' NOT NULL,
660   dateaccessioned date,
661   booksellerid varchar(10),
662   homebranch varchar(4),
663   price decimal(28,6),
664   replacementprice decimal(28,6),
665   replacementpricedate date,
666   datelastborrowed date,
667   datelastseen date,
668   multivolume tinyint(1),
669   stack tinyint(1),
670   notforloan tinyint(1),
671   itemlost tinyint(1),
672   wthdrawn tinyint(1),
673   bulk varchar(30),
674   issues smallint(6),
675   renewals smallint(6),
676   reserves smallint(6),
677   restricted tinyint(1),
678   binding decimal(28,6),
679   itemnotes text,
680   holdingbranch varchar(4),
681   interim tinyint(1),
682   volume text,
683   number text,
684   classification varchar(12),
685   itemtype varchar(4),
686   isbn varchar(14),
687   issn varchar(9),
688   dewey double(16,4),
689   subclass char(3),
690   publicationyear smallint(6),
691   KEY itembarcodeidx (barcode),
692   KEY itembibnoidx (biblionumber),
693   PRIMARY KEY (itemnumber)
694 );
695
696 #
697 # Table structure for table 'printers'
698 #
699 CREATE TABLE printers (
700   printername char(40),
701   printqueue char(20),
702   printtype char(20)
703 );
704
705 #
706 # Table structure for table 'procedures'
707 #
708 CREATE TABLE procedures (
709   proccode varchar(4),
710   procdesc text,
711   proclevel smallint(6)
712 );
713
714 #
715 # Table structure for table 'publisher'
716 #
717 CREATE TABLE publisher (
718   publishercode varchar(18) DEFAULT '' NOT NULL,
719   publishername text NOT NULL
720 );
721
722 #
723 # Table structure for table 'reserveconstraints'
724 #
725 CREATE TABLE reserveconstraints (
726   borrowernumber int(11) DEFAULT '0' NOT NULL,
727   reservedate date DEFAULT '0000-00-00' NOT NULL,
728   biblionumber int(11) DEFAULT '0' NOT NULL,
729   biblioitemnumber int(11),
730   timestamp timestamp(14)
731 );
732
733 #
734 # Table structure for table 'reserves'
735 #
736 CREATE TABLE reserves (
737   borrowernumber int(11) DEFAULT '0' NOT NULL,
738   reservedate date DEFAULT '0000-00-00' NOT NULL,
739   biblionumber int(11) DEFAULT '0' NOT NULL,
740   constrainttype char(1),
741   branchcode varchar(4),
742   notificationdate date,
743   reminderdate date,
744   cancellationdate date,
745   reservenotes text,
746   priority smallint(6),
747   found char(1),
748   timestamp timestamp(14),
749   itemnumber int(11)
750 );
751
752 #
753 # Table structure for table 'searchstats'
754 #
755 CREATE TABLE searchstats (
756   time datetime,
757   searchstring text
758 );
759
760 #
761 # Table structure for table 'serialissues'
762 #
763 CREATE TABLE serialissues (
764   biblionumber int(11) DEFAULT '0' NOT NULL,
765   volume varchar(20) DEFAULT '' NOT NULL,
766   number varchar(20) DEFAULT '' NOT NULL,
767   ordernumber smallint(6),
768   issuedate varchar(20),
769   received varchar(18)
770 );
771
772 #
773 # Table structure for table 'statistics'
774 #
775 CREATE TABLE statistics (
776   datetime datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
777   branch varchar(4),
778   proccode varchar(4),
779   value double(16,4),
780   type varchar(16),
781   other text,
782   usercode varchar(10),
783   itemnumber int(11),
784   itemtype varchar(4),
785   KEY timeidx (datetime)
786 );
787
788 #
789 # Table structure for table 'stopwords'
790 #
791 CREATE TABLE stopwords (
792   word varchar(255)
793 );
794
795 #
796 # Table structure for table 'systempreferences'
797 #
798 CREATE TABLE systempreferences (
799   variable char(50) DEFAULT '' NOT NULL,
800   value char(200),
801   explanation char(200) default '',
802   PRIMARY KEY (variable)
803 );
804
805 #
806 # Table structure for table 'users'
807 #
808 CREATE TABLE users (
809   usercode varchar(10),
810   username text,
811   password text,
812   level smallint(6)
813 );
814
815 #
816 # Table structure for table 'websites'
817 #
818
819 CREATE TABLE websites (
820   websitenumber int(11) NOT NULL auto_increment,
821   biblionumber int(11) NOT NULL default '0',
822   title text,
823   description text,
824   url varchar(255),
825   PRIMARY KEY (websitenumber)
826 ) TYPE=ISAM PACK_KEYS=1;
827
828 CREATE TABLE uploadedmarc (
829   id int(11) NOT NULL auto_increment,
830   marc longblob,
831   hidden smallint(6) default NULL,
832   name varchar(255) default NULL,
833   PRIMARY KEY  (id)
834 );
835                                         
836
837 CREATE TABLE marcrecorddone (
838   isbn char(40) default NULL,
839   issn char(40) default NULL,
840   lccn char(40) default NULL
841 );