add ability to remove indexes (indices?)
Justin Hunter [Sat, 3 Oct 2009 04:50:24 +0000 (21:50 -0700)]
lib/SQL/Translator/Object/Table.pm

index ebbf320..3c180ba 100644 (file)
@@ -42,6 +42,7 @@ class SQL::Translator::Object::Table extends SQL::Translator::Object is dirty {
             get_indices  => 'values',
             get_index    => 'get',
             add_index    => 'set',
+            remove_index => 'delete',
         },
         default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash },
     );