- loanlength smallint(6) default NULL,
- renewalsallowed smallint(6) default NULL,
- rentalcharge double(16,4) default NULL,
- PRIMARY KEY (itemtype)
-) TYPE=ISAM PACK_KEYS=1;
-# --------------------------------------------------------
+ loanlength smallint(6),
+ renewalsallowed smallint(6),
+ rentalcharge double(16,4),
+ UNIQUE itemtype (itemtype)
+);
+
+#
+# Table structure for table 'multipart'
+#
+CREATE TABLE multipart (
+ itemnumber int(11) DEFAULT '0' NOT NULL,
+ other int(11) DEFAULT '0' NOT NULL
+);
+
+#
+# Table structure for table 'multivolume'
+#
+CREATE TABLE multivolume (
+ biblionumber int(11) DEFAULT '0' NOT NULL,
+ multivolumepart varchar(30) DEFAULT '' NOT NULL
+);
+
+#
+# Table structure for table 'newitems'
+#
+CREATE TABLE newitems (
+ itemnumber int(11) DEFAULT '0' NOT NULL,
+ publishercode varchar(18),
+ biblionumber int(11) DEFAULT '0' NOT NULL,
+ multivolumepart varchar(30),
+ barcode varchar(9) DEFAULT '' NOT NULL,
+ dateaccessioned date,
+ booksellerid varchar(10),
+ homebranch varchar(4),
+ price decimal(28,6),
+ replacementprice decimal(28,6),
+ replacementpricedate date,
+ datelastborrowed date,
+ datelastseen date,
+ multivolume tinyint(1),
+ stack tinyint(1),
+ notforloan tinyint(1),
+ itemlost tinyint(1),
+ wthdrawn tinyint(1),
+ bulk varchar(30),
+ issues smallint(6),
+ renewals smallint(6),
+ reserves smallint(6),
+ restricted tinyint(1),
+ binding decimal(28,6),
+ itemnotes text,
+ holdingbranch varchar(4),
+ interim tinyint(1),
+ volume text,
+ number text,
+ classification varchar(12),
+ itemtype varchar(4),
+ isbn varchar(14),
+ issn varchar(9),
+ dewey double(16,4),
+ subclass char(3),
+ publicationyear smallint(6),
+ KEY itembarcodeidx (barcode),
+ KEY itembibnoidx (biblionumber),
+ PRIMARY KEY (itemnumber)
+);