From: Justin Hunter Date: Sat, 3 Oct 2009 04:50:24 +0000 (-0700) Subject: add ability to remove indexes (indices?) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=48020fcf2428ec76c1231e93f640ea4535daad64;p=dbsrgits%2FSQL-Translator-2.0-ish.git add ability to remove indexes (indices?) --- diff --git a/lib/SQL/Translator/Object/Table.pm b/lib/SQL/Translator/Object/Table.pm index ebbf320..3c180ba 100644 --- a/lib/SQL/Translator/Object/Table.pm +++ b/lib/SQL/Translator/Object/Table.pm @@ -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 }, );