projects
/
dbsrgits/SQL-Translator-2.0-ish.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make is_nullable a Bit and default the column size to [ 0 ]
[dbsrgits/SQL-Translator-2.0-ish.git]
/
lib
/
SQL
/
Translator
/
Object
/
Column.pm
diff --git
a/lib/SQL/Translator/Object/Column.pm
b/lib/SQL/Translator/Object/Column.pm
index
e6e950a
..
d0632d9
100644
(file)
--- a/
lib/SQL/Translator/Object/Column.pm
+++ b/
lib/SQL/Translator/Object/Column.pm
@@
-34,11
+34,12
@@
class SQL::Translator::Object::Column extends SQL::Translator::Object {
isa => ColumnSize,
coerce => 1,
auto_deref => 1,
+ default => sub { [ 0 ] },
);
has 'is_nullable' => (
is => 'rw',
- isa => Bool,
+ isa => Bit,
required => 1,
default => 1
);