Bug 2799: database update to "branch transfer limits"
This patch cleans up kohastructure.sql a bit: * moved the table definition to above the ending comments * added a "drop table..." statement Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
9cf0472903
commit
3886be26ff
1 changed files with 13 additions and 12 deletions
|
@ -2300,6 +2300,19 @@ CREATE TABLE `borrower_message_transport_preferences` (
|
|||
CONSTRAINT `borrower_message_transport_preferences_ibfk_2` FOREIGN KEY (`message_transport_type`) REFERENCES `message_transport_types` (`message_transport_type`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for the table branch_transfer_limits
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `branch_transfer_limits`;
|
||||
CREATE TABLE branch_transfer_limits (
|
||||
limitId int(8) NOT NULL auto_increment,
|
||||
toBranch varchar(4) NOT NULL,
|
||||
fromBranch varchar(4) NOT NULL,
|
||||
itemtype varchar(4) NOT NULL,
|
||||
PRIMARY KEY (limitId)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
|
@ -2309,15 +2322,3 @@ CREATE TABLE `borrower_message_transport_preferences` (
|
|||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
--
|
||||
-- Table structure for the table branch_transfer_limits
|
||||
--
|
||||
|
||||
CREATE TABLE branch_transfer_limits (
|
||||
limitId int(8) NOT NULL auto_increment,
|
||||
toBranch varchar(4) NOT NULL,
|
||||
fromBranch varchar(4) NOT NULL,
|
||||
itemtype varchar(4) NOT NULL,
|
||||
PRIMARY KEY (limitId)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
Loading…
Reference in a new issue