[Koha-patches] [PATCH] [SIGNED-OFF 4/7] Bug 5422: Add missing fields to deletedborrowers and change datatype to text
Magnus Enger
magnus at enger.priv.no
Thu Apr 7 11:41:33 CEST 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Signed-off-by: Magnus Enger <magnus at enger.priv.no>
---
installer/data/mysql/kohastructure.sql | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql
index ea0bc03..9178867 100644
--- a/installer/data/mysql/kohastructure.sql
+++ b/installer/data/mysql/kohastructure.sql
@@ -206,7 +206,7 @@ CREATE TABLE `borrowers` (
`address` mediumtext NOT NULL,
`address2` text,
`city` mediumtext NOT NULL,
- `state` mediumtext default NULL,
+ `state` text default NULL,
`zipcode` varchar(25) default NULL,
`country` text,
`email` mediumtext,
@@ -220,7 +220,7 @@ CREATE TABLE `borrowers` (
`B_address` varchar(100) default NULL,
`B_address2` text default NULL,
`B_city` mediumtext,
- `B_state` mediumtext default NULL,
+ `B_state` text default NULL,
`B_zipcode` varchar(25) default NULL,
`B_country` text,
`B_email` text,
@@ -254,7 +254,7 @@ CREATE TABLE `borrowers` (
`altcontactaddress1` varchar(255) default NULL,
`altcontactaddress2` varchar(255) default NULL,
`altcontactaddress3` varchar(255) default NULL,
- `altcontactstate` mediumtext default NULL,
+ `altcontactstate` text default NULL,
`altcontactzipcode` varchar(50) default NULL,
`altcontactcountry` text default NULL,
`altcontactphone` varchar(50) default NULL,
@@ -656,6 +656,7 @@ CREATE TABLE `deletedborrowers` (
`address` mediumtext NOT NULL,
`address2` text,
`city` mediumtext NOT NULL,
+ `state` text default NULL,
`zipcode` varchar(25) default NULL,
`country` text,
`email` mediumtext,
@@ -669,6 +670,7 @@ CREATE TABLE `deletedborrowers` (
`B_address` varchar(100) default NULL,
`B_address2` text default NULL,
`B_city` mediumtext,
+ `B_state` text default NULL,
`B_zipcode` varchar(25) default NULL,
`B_country` text,
`B_email` text,
@@ -702,6 +704,7 @@ CREATE TABLE `deletedborrowers` (
`altcontactaddress1` varchar(255) default NULL,
`altcontactaddress2` varchar(255) default NULL,
`altcontactaddress3` varchar(255) default NULL,
+ `altcontactstate` text default NULL,
`altcontactzipcode` varchar(50) default NULL,
`altcontactcountry` text default NULL,
`altcontactphone` varchar(50) default NULL,
--
1.7.1
More information about the Koha-patches
mailing list