[open-ils-commits] r12455 - trunk/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 6 16:44:29 EST 2009
Author: miker
Date: 2009-03-06 16:44:25 -0500 (Fri, 06 Mar 2009)
New Revision: 12455
Modified:
trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
Log:
make org unit name and shortname unique, to avoid mistakes
Modified: trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2009-03-06 21:07:19 UTC (rev 12454)
+++ trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2009-03-06 21:44:25 UTC (rev 12455)
@@ -332,8 +332,8 @@
holds_address INT,
mailing_address INT,
billing_address INT,
- shortname TEXT NOT NULL,
- name TEXT NOT NULL,
+ shortname TEXT NOT NULL UNIQUE,
+ name TEXT NOT NULL UNIQUE,
email TEXT,
phone TEXT,
opac_visible BOOL NOT NULL DEFAULT TRUE
More information about the open-ils-commits
mailing list