X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FInterBase.pm;fp=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FInterBase.pm;h=6f73395af441a39a5b2d2ea61eae2e6c434f5fb2;hb=28d530005a8ca6c0eb8ca50bccc6ea536ab15695;hp=c20bc8da8b6f34a194373ecac83c05aa7f7413ba;hpb=2b74a06bb8493df6e4bb15a445bd4bfb370d91c6;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm b/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm index c20bc8d..6f73395 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/InterBase.pm @@ -254,6 +254,9 @@ EOF elsif ($info->{data_type} eq 'character') { $info->{data_type} = 'char'; } + elsif ($info->{data_type} eq 'float') { + $info->{data_type} = 'real'; + } elsif ($info->{data_type} eq 'int64' || $info->{data_type} eq '-9581') { # the constant is just in case, the query should pick up the type $info->{data_type} = 'bigint';