Patch By Max Kanat-Alexander <mkanat@kerio.com> r=glob, a=justdave
my $finfo = (@_ == 1 && ref($_[0]) eq 'HASH') ? $_[0] : { @_ };
my $type = $finfo->{TYPE};
- ThrowCodeError("A data type must be specified.") unless ($type);
+ die "A valid TYPE was not specified for this column." unless ($type);
my $default = $finfo->{DEFAULT};
my $fkref = $self->{enable_references} ? $finfo->{REFERENCES} : undef;
my $type_ddl = $self->{db_specific}{$type} || $type;