projects
/
dbsrgits/SQL-Translator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add carping wrapper to SQL::Translator->schema as well
[dbsrgits/SQL-Translator.git]
/
lib
/
SQL
/
Translator.pm
diff --git
a/lib/SQL/Translator.pm
b/lib/SQL/Translator.pm
index
199fef4
..
694ffa1
100644
(file)
--- a/
lib/SQL/Translator.pm
+++ b/
lib/SQL/Translator.pm
@@
-276,6
+276,8
@@
has schema => (
predicate => '_has_schema',
);
+around schema => carp_ro('schema');
+
around reset => sub {
my $orig = shift;
my $self = shift;