From: Ken Youens-Clark Date: Fri, 15 Aug 2003 16:16:05 +0000 (+0000) Subject: Added "integer" conversion. X-Git-Tag: v0.04~329 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25966689ee94b8c13be69b30e845aee8d95ced45;p=dbsrgits%2FSQL-Translator.git Added "integer" conversion. --- diff --git a/lib/SQL/Translator/Producer/Oracle.pm b/lib/SQL/Translator/Producer/Oracle.pm index 14e4fa4..98f3e2d 100644 --- a/lib/SQL/Translator/Producer/Oracle.pm +++ b/lib/SQL/Translator/Producer/Oracle.pm @@ -1,7 +1,7 @@ package SQL::Translator::Producer::Oracle; # ------------------------------------------------------------------- -# $Id: Oracle.pm,v 1.15 2003-08-04 21:04:04 kycl4rk Exp $ +# $Id: Oracle.pm,v 1.16 2003-08-15 16:16:05 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -24,7 +24,7 @@ package SQL::Translator::Producer::Oracle; use strict; use vars qw[ $VERSION $DEBUG $WARN ]; -$VERSION = sprintf "%d.%02d", q$Revision: 1.15 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.16 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; use SQL::Translator::Schema::Constants; @@ -39,6 +39,7 @@ my %translate = ( decimal => 'number', float => 'number', int => 'number', + integer => 'number', mediumint => 'number', smallint => 'number', tinyint => 'number',