use Test::More;
use Test::Exception;
-use Scope::Guard ();
use Try::Tiny;
use DBIx::Class::Optional::Dependencies ();
+use DBIx::Class::_Util 'scope_guard';
use lib qw(t/lib);
use DBICTest;
or
(not $dsn || $dsn2);
-require DBICTest::Schema;
DBICTest::Schema->load_classes('ArtistGUID');
# Example DSNs (32bit only):
LongReadLen => $maxloblen,
});
- my $guard = Scope::Guard->new(sub { cleanup($schema) });
+ my $guard = scope_guard { cleanup($schema) };
my $dbh = $schema->storage->dbh;
id INT NOT NULL PRIMARY KEY,
bytea INT NULL,
blob IMAGE NULL,
- blob2 IMAGE NULL,
clob TEXT NULL,
- clob2 TEXT NULL,
a_memo MEMO NULL
)
],{ RaiseError => 1, PrintError => 1 });