[Koha-cvs] koha/updater updatedatabase [rel_3_0]
Antoine Farnault
antoine at koha-fr.org
Thu Oct 19 11:04:07 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/10/19 09:04:07
Modified files:
updater : updatedatabase
Log message:
itemtypes.itemtype is a primary key.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=rel_3_0&r1=1.157.2.11&r2=1.157.2.12
Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.11
retrieving revision 1.157.2.12
diff -u -b -r1.157.2.11 -r1.157.2.12
--- updatedatabase 18 Oct 2006 13:31:13 -0000 1.157.2.11
+++ updatedatabase 19 Oct 2006 09:04:07 -0000 1.157.2.12
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Id: updatedatabase,v 1.157.2.11 2006/10/18 13:31:13 toins Exp $
+# $Id: updatedatabase,v 1.157.2.12 2006/10/19 09:04:07 toins Exp $
# Database Updater
# This script checks for required updates to the database.
@@ -684,7 +684,7 @@
field => 'itemtype',
type => 'varchar(10)',
null => 'NOT NULL',
- key => '',
+ key => 'PRI',
extra => 'UNIQUE',
}
],
@@ -1854,6 +1854,9 @@
exit;
# $Log: updatedatabase,v $
+# Revision 1.157.2.12 2006/10/19 09:04:07 toins
+# itemtypes.itemtype is a primary key.
+#
# Revision 1.157.2.11 2006/10/18 13:31:13 toins
# Borrowers.categorycode must have 10 chars lenght & categories.categorycode must be a primary key.
#
More information about the Koha-cvs
mailing list