Browse Source

lib/srdb1: added unique constraint on ruid for location table

Daniel-Constantin Mierla 13 years ago
parent
commit
2c1a857f08
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lib/srdb1/schema/location.xml

+ 6 - 0
lib/srdb1/schema/location.xml

@@ -186,5 +186,11 @@
         <colref linkend="domain"/>
         <colref linkend="contact"/>
     </index>
+    <index>
+        <name>ruid_idx</name>
+        <colref linkend="ruid"/>
+        <unique/>
+    </index>
+
 
 </table>