Bugzilla – Attachment 5664 Details for
Bug 6716
Database Documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug6716 - document the aqbooksellers table
bug6716---document-the-aqbooksellers-table.patch (text/plain), 4.27 KB, created by
Nicole C. Engard
on 2011-09-30 16:55:47 UTC
(
hide
)
Description:
bug6716 - document the aqbooksellers table
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-09-30 16:55:47 UTC
Size:
4.27 KB
patch
obsolete
>From 4c9baca0cd29bd2c514dd16dd4bb9d51ee247127 Mon Sep 17 00:00:00 2001 >From: Nicole C. Engard <nengard@bywatersolutions.com> >Date: Wed, 28 Sep 2011 08:05:29 -0400 >Subject: [PATCH] bug6716 - document the aqbooksellers table > >This documents the table that stores vendor info in Koha. > >There were 4 unused fields found: > `accountnumber` > `othersupplier` > `currency` > `booksellerurl` >--- > installer/data/mysql/kohastructure.sql | 66 ++++++++++++++++---------------- > 1 files changed, 33 insertions(+), 33 deletions(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 3a51df5..34ccf01 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2448,39 +2448,39 @@ CREATE TABLE `aqbasket` ( > -- > > DROP TABLE IF EXISTS `aqbooksellers`; >-CREATE TABLE `aqbooksellers` ( >- `id` int(11) NOT NULL auto_increment, >- `name` mediumtext NOT NULL, >- `address1` mediumtext, >- `address2` mediumtext, >- `address3` mediumtext, >- `address4` mediumtext, >- `phone` varchar(30) default NULL, >- `accountnumber` mediumtext, >- `othersupplier` mediumtext, >- `currency` varchar(3) NOT NULL default '', >- `booksellerfax` mediumtext, >- `notes` mediumtext, >- `bookselleremail` mediumtext, >- `booksellerurl` mediumtext, >- `contact` varchar(100) default NULL, >- `postal` mediumtext, >- `url` varchar(255) default NULL, >- `contpos` varchar(100) default NULL, >- `contphone` varchar(100) default NULL, >- `contfax` varchar(100) default NULL, >- `contaltphone` varchar(100) default NULL, >- `contemail` varchar(100) default NULL, >- `contnotes` mediumtext, >- `active` tinyint(4) default NULL, >- `listprice` varchar(10) default NULL, >- `invoiceprice` varchar(10) default NULL, >- `gstreg` tinyint(4) default NULL, >- `listincgst` tinyint(4) default NULL, >- `invoiceincgst` tinyint(4) default NULL, >- `gstrate` decimal(6,4) default NULL, >- `discount` float(6,4) default NULL, >- `fax` varchar(50) default NULL, >+CREATE TABLE `aqbooksellers` ( -- information about the vendors listed in acquisitions >+ `id` int(11) NOT NULL auto_increment, -- primary key and unique identifier assigned by Koha >+ `name` mediumtext NOT NULL, -- vendor name >+ `address1` mediumtext, -- first line of vendor physical address >+ `address2` mediumtext, -- second line of vendor physical address >+ `address3` mediumtext, -- third line of vendor physical address >+ `address4` mediumtext, -- fourth line of vendor physical address >+ `phone` varchar(30) default NULL, -- vendor phone number >+ `accountnumber` mediumtext, -- unused in Koha >+ `othersupplier` mediumtext, -- unused in Koha >+ `currency` varchar(3) NOT NULL default '', -- unused in Koha >+ `booksellerfax` mediumtext, -- vendor fax number >+ `notes` mediumtext, -- order notes >+ `bookselleremail` mediumtext, -- vendor email >+ `booksellerurl` mediumtext, -- unused in Koha >+ `contact` varchar(100) default NULL, -- name of contact at vendor >+ `postal` mediumtext, -- vendor postal address (all lines) >+ `url` varchar(255) default NULL, -- vendor web address >+ `contpos` varchar(100) default NULL, -- contact person's position >+ `contphone` varchar(100) default NULL, -- contact's phone number >+ `contfax` varchar(100) default NULL, -- contact's fax number >+ `contaltphone` varchar(100) default NULL, -- contact's alternate phone number >+ `contemail` varchar(100) default NULL, -- contact's email address >+ `contnotes` mediumtext, -- notes related to the contact >+ `active` tinyint(4) default NULL, -- is this vendor active (1 for yes, 0 for no) >+ `listprice` varchar(10) default NULL, -- currency code for list prices >+ `invoiceprice` varchar(10) default NULL, -- currency code for invoice prices >+ `gstreg` tinyint(4) default NULL, -- is your library charged tax (1 for yes, 0 for no) >+ `listincgst` tinyint(4) default NULL, -- is tax included in list prices (1 for yes, 0 for no) >+ `invoiceincgst` tinyint(4) default NULL, -- is tax included in invoice prices (1 for yes, 0 for no) >+ `gstrate` decimal(6,4) default NULL, -- the tax rate the library is charged >+ `discount` float(6,4) default NULL, -- discount offered on all items ordered from this vendor >+ `fax` varchar(50) default NULL, -- vendor fax number > PRIMARY KEY (`id`), > KEY `listprice` (`listprice`), > KEY `invoiceprice` (`invoiceprice`), >-- >1.7.2.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6716
:
4987
|
4988
|
4989
|
4992
|
5003
|
5004
|
5005
|
5006
|
5007
|
5008
|
5009
|
5011
|
5012
|
5013
|
5014
|
5139
|
5140
|
5141
|
5142
|
5174
|
5175
|
5176
|
5177
|
5178
|
5179
|
5186
|
5187
|
5188
|
5190
|
5192
|
5193
|
5355
|
5356
|
5663
|
5664
|
5665
|
5666
|
5668
|
5669
|
5686
|
5687
|
5706
|
5829
|
6004
|
6015
|
6591
|
6592
|
6593
|
6594
|
6595
|
6596
|
6597
|
6598
|
6599
|
10788
|
10789
|
10790
|
10791
|
10792
|
10793
|
10794
|
10795
|
10822
|
10823
|
10824
|
10832
|
10833
|
10942
|
10970
|
10975
|
11011
|
11013
|
11014
|
11016
|
11018
|
11019
|
11020
|
11021
|
11022
|
11023
|
11084
|
11729
|
11823
|
11987
|
12024
|
12561
|
26777