projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e20b43c
)
add database attribute
Justin Hunter [Sat, 19 Sep 2009 16:45:48 +0000 (09:45 -0700)]
lib/SQL/Translator/Object/Schema.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Object/Schema.pm
b/lib/SQL/Translator/Object/Schema.pm
index
b9ab39a
..
0164c57
100644
(file)
--- a/
lib/SQL/Translator/Object/Schema.pm
+++ b/
lib/SQL/Translator/Object/Schema.pm
@@
-9,6
+9,11
@@
class SQL::Translator::Object::Schema extends SQL::Translator::Object {
required => 1,
default => ''
);
+
+ has 'database' => (
+ is => 'rw',
+ isa => Maybe[Str],
+ );
has 'tables' => (
traits => ['Hash'],