summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorjeff <jeff>2009-02-11 16:06:42 +0000
committerjeff <jeff>2009-02-11 16:06:42 +0000
commit28f1899a3486f604cb786b70839534ad68bdf4b6 (patch)
tree6e93b45ad1f46f750f84496753820b228f9318c1 /FS
parent3fae9d8e9686f54eab803b77f6458772150227a9 (diff)
mac is unique
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 232977a5d..e8ab6bfec 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -1666,7 +1666,7 @@ sub tables_hashref {
'vlan_profile', 'varchar', 'NULL', $char_d, '', '',
],
'primary_key' => 'svcnum',
- 'unique' => [],
+ 'unique' => [ [ 'mac_addr' ] ],
'index' => [],
},