projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f878381
)
Add carping wrapper to SQL::Translator->schema as well
Dagfinn Ilmari Mannsåker [Mon, 17 Sep 2012 22:47:12 +0000 (23:47 +0100)]
lib/SQL/Translator.pm
patch
|
blob
|
blame
|
history
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;