Lines 3896-3902
CREATE TABLE `issues` (
Link Here
|
3896 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3896 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3897 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3897 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3898 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
3898 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
3899 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
3899 |
`checkin_library` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
3900 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3900 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3901 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3901 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3902 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
3902 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
Lines 4986-4992
CREATE TABLE `old_issues` (
Link Here
|
4986 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4986 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4987 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4987 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4988 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
4988 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
4989 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
4989 |
`checkin_library` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
4990 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4990 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4991 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4991 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4992 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
4992 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |