Lines 1462-1467
CREATE TABLE saved_sql ( -- saved sql reports
Link Here
|
1462 |
report_area varchar(6) default NULL, |
1462 |
report_area varchar(6) default NULL, |
1463 |
report_group varchar(80) default NULL, |
1463 |
report_group varchar(80) default NULL, |
1464 |
report_subgroup varchar(80) default NULL, |
1464 |
report_subgroup varchar(80) default NULL, |
|
|
1465 |
`mana_id` int(11) NULL DEFAULT NULL, |
1465 |
PRIMARY KEY (`id`), |
1466 |
PRIMARY KEY (`id`), |
1466 |
KEY sql_area_group_idx (report_group, report_subgroup), |
1467 |
KEY sql_area_group_idx (report_group, report_subgroup), |
1467 |
KEY boridx (`borrowernumber`) |
1468 |
KEY boridx (`borrowernumber`) |
Lines 2127-2132
CREATE TABLE `subscription` ( -- information related to the subscription
Link Here
|
2127 |
`reneweddate` date default NULL, -- date of last renewal for the subscription |
2128 |
`reneweddate` date default NULL, -- date of last renewal for the subscription |
2128 |
`itemtype` VARCHAR( 10 ) NULL, |
2129 |
`itemtype` VARCHAR( 10 ) NULL, |
2129 |
`previousitemtype` VARCHAR( 10 ) NULL, |
2130 |
`previousitemtype` VARCHAR( 10 ) NULL, |
|
|
2131 |
`mana_id` int(11) NULL DEFAULT NULL, |
2130 |
PRIMARY KEY (`subscriptionid`), |
2132 |
PRIMARY KEY (`subscriptionid`), |
2131 |
KEY `by_biblionumber` (`biblionumber`), |
2133 |
KEY `by_biblionumber` (`biblionumber`), |
2132 |
CONSTRAINT subscription_ibfk_1 FOREIGN KEY (periodicity) REFERENCES subscription_frequencies (id) ON DELETE SET NULL ON UPDATE CASCADE, |
2134 |
CONSTRAINT subscription_ibfk_1 FOREIGN KEY (periodicity) REFERENCES subscription_frequencies (id) ON DELETE SET NULL ON UPDATE CASCADE, |