Add carping wrapper to SQL::Translator->schema as well
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator.pm
index 199fef4..694ffa1 100644 (file)
@@ -276,6 +276,8 @@ has schema => (
     predicate => '_has_schema',
 );
 
+around schema => carp_ro('schema');
+
 around reset => sub {
     my $orig = shift;
     my $self = shift;