fix syntax error
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / DBI / Pg.pm
index 0ed3070..52c7489 100644 (file)
@@ -228,7 +228,7 @@ EOF
         }
 
 # alias now() to current_timestamp for deploying to other DBs
-        if ((eval { lc ${ $info->{default_value} }||'') eq 'now()' }) {
+        if ((eval { lc ${ $info->{default_value} } }||'') eq 'now()') {
             # do not use a ref to a constant, that breaks Data::Dump output
             ${$info->{default_value}} = 'current_timestamp';
         }