change CURRENT_TIMESTAMP to current_timestamp
[dbsrgits/DBIx-Class-Schema-Loader.git] / lib / DBIx / Class / Schema / Loader / DBI / Pg.pm
index d8a8b9e..e8fb9de 100644 (file)
@@ -205,10 +205,10 @@ EOF
             delete $result->{$col}{default_value};
         }
 
-# alias now() to CURRENT_TIMESTAMP for deploying to other DBs
+# alias now() to current_timestamp for deploying to other DBs
         if (eval { lc ${ $result->{$col}{default_value} }||'' eq 'now()' }) {
             # do not use a ref to a constant, that breaks Data::Dump output
-            ${$result->{$col}{default_value}} = 'CURRENT_TIMESTAMP';
+            ${$result->{$col}{default_value}} = 'current_timestamp';
         }
     }