projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3c557f7
)
make "" the default for constraint name
Justin Hunter [Sat, 3 Oct 2009 23:27:50 +0000 (16:27 -0700)]
lib/SQL/Translator/Object/Constraint.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Translator/Object/Constraint.pm
b/lib/SQL/Translator/Object/Constraint.pm
index
d3ea621
..
2badd90
100644
(file)
--- a/
lib/SQL/Translator/Object/Constraint.pm
+++ b/
lib/SQL/Translator/Object/Constraint.pm
@@
-12,7
+12,8
@@
class SQL::Translator::Object::Constraint extends SQL::Translator::Object {
has 'name' => (
is => 'rw',
- isa => Maybe[Str],
+ isa => Str,
+ default => '',
required => 1
);