Skip to content

Commit

Permalink
TODOコメントは要らなくなったので消す(対応したから)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsucchi committed Apr 17, 2014
1 parent 99f7e8f commit fce81cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Otogiri/Plugin/TableInfo/Pg.pm
Expand Up @@ -141,7 +141,6 @@ sub _is_pk {

sub _build_uk_defs {
my ($self, $table, @indexes) = @_;
# TODO: 2回selectしてて効率悪いので引数にする
my @unique_indexes = grep {
$_->{indexdef} =~ qr/\ACREATE UNIQUE INDEX/ && !$self->_is_pk($table, $_->{indexname})
} @indexes;
Expand Down

0 comments on commit fce81cd

Please sign in to comment.