projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e8ef9a9
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Object/Table.pm
b/lib/SQL/Translator/Object/Table.pm
index
ebbf320
..
3c180ba
100644
(file)
--- 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 },
);