<p>In t/postgresql-rename-table-and-field.t:</p>
<pre style='color:#555'>> @@ -0,0 +1,77 @@
> +#!/usr/bin/env perl
> +
> +use strict;
> +use warnings;
> +
> +use Test::More;
> +use Test::Exception;
> +use DBI;
> +use SQL::Translator;
> +use SQL::Translator::Parser::PostgreSQL;
> +use SQL::Translator::Diff;
> +
> +eval "use DBD::Pg";
> +plan skip_all => "DBD::Pg required" if $@;
</pre>
<p>Use Test::SQL::Translator::maybe_plan() instead of hand-rolling this.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/44/files#r16598701">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDMzNTExNywiZGF0YSI6eyJpZCI6NDAzODg2NjF9fQ==--43662997aa38468e66b43b1e958215d896b8a6d0.gif" width="1" /></p>