Lines 3885-3890
CREATE TABLE `issues` (
Link Here
|
3885 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3885 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3886 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3886 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3887 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
3887 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
|
|
3888 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
3888 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3889 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3889 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3890 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3890 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
3891 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
Lines 4888-4893
CREATE TABLE `old_issues` (
Link Here
|
4888 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4889 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4889 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4890 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4890 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
4891 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
|
|
4892 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
4891 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4893 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4892 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4894 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4893 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
4895 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
4894 |
- |
|
|