Lines 2830-2836
CREATE TABLE `alert` (
Link Here
|
2830 |
`externalid` varchar(20) NOT NULL default '', |
2830 |
`externalid` varchar(20) NOT NULL default '', |
2831 |
PRIMARY KEY (`alertid`), |
2831 |
PRIMARY KEY (`alertid`), |
2832 |
KEY `borrowernumber` (`borrowernumber`), |
2832 |
KEY `borrowernumber` (`borrowernumber`), |
2833 |
KEY `type` (`type`,`externalid`) |
2833 |
KEY `type` (`type`,`externalid`), |
|
|
2834 |
CONSTRAINT alert_ibfk_1 FOREIGN KEY (borrowernumber) REFERENCES borrowers (borrowernumber) ON UPDATE CASCADE ON DELETE CASCADE |
2834 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
2835 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
2835 |
|
2836 |
|
2836 |
-- |
2837 |
-- |
2837 |
- |
|
|