From: Justin Hunter Date: Tue, 21 Jun 2011 18:31:07 +0000 (-0700) Subject: remove unneeded { } X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4eab010d6aac93bec5e46c102c293dff4123b3e;p=dbsrgits%2FSQL-Translator-2.0-ish.git remove unneeded { } --- diff --git a/lib/SQL/Translator/Object/Table.pm b/lib/SQL/Translator/Object/Table.pm index 1389933..3ba3d60 100644 --- a/lib/SQL/Translator/Object/Table.pm +++ b/lib/SQL/Translator/Object/Table.pm @@ -165,7 +165,7 @@ class SQL::Translator::Object::Table extends SQL::Translator::Object is dirty { my $primary_key = $self->primary_key; unless (defined $primary_key) { - $primary_key = SQL::Translator::Object::Constraint->new({ type => 'PRIMARY KEY' }); + $primary_key = SQL::Translator::Object::Constraint->new( type => 'PRIMARY KEY' ); $self->add_constraint($primary_key); } $primary_key->add_column( name => $column ) unless $primary_key->exists_column($column);