]> andersk Git - moira.git/blobdiff - db/dbopt.sql
schema and indexes for new printers table
[moira.git] / db / dbopt.sql
index df88c025870413d360aa678b3099aacd6b469dc1..569e9ca148813e8f8fcc71a18bcff9211b061e71 100644 (file)
@@ -14,6 +14,7 @@ create index i_mac_name on  machine (name);
 create index i_mac_addr on machine (address);
 create index i_mac_loc on machine (location);
 create index i_mac_snet on machine (snet_id);
+create index i_mac_hwaddr on machine (hwaddr);
 
 create unique index i_hal_name on hostalias  (name);
 create index i_hal_id on hostalias (mach_id);
@@ -69,9 +70,11 @@ create unique index i_zph_class on zephyr  (class);
 
 create unique index i_hac_mid on hostaccess  (mach_id);
 
-create index i_pcp_name on printcap (name);
-create index i_pcp_mach on  printcap (mach_id);
-
-create index i_plad_name on palladium (name);
+create index i_prn_name on printers (name);
+create index i_prn_dname on printers (duplexname);
+create index i_prn_mach on printers (mach_id);
+create index i_prn_rm on printers (rm);
+create index i_prn_loc on printers (location);
+create index i_prn_con on printers (contact);
 
 create index i_cap_tag on capacls (tag);
This page took 0.033673 seconds and 4 git commands to generate.