From: ivan Date: Sat, 25 Nov 2000 07:45:51 +0000 (+0000) Subject: transalate `bool' to `tinyint' for MySQL. X-Git-Tag: DBIx_DBSchema_0_15 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=7d5538189564cc786eacb4a2969a2ad19cbdf84c;p=DBIx-DBSchema.git transalate `bool' to `tinyint' for MySQL. --- diff --git a/Changes b/Changes index 2af56f0..9b74541 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension DBIx::DBSchema. +0.15 Fri Nov 24 23:39:16 2000 + - MySQL handling of BOOL type (change to TINYINT) + 0.14 Tue Oct 24 14:43:16 2000 - MySQL handling of SERIAL type (change to INTEGER AUTO_INCREMENT) diff --git a/DBSchema.pm b/DBSchema.pm index e24cd72..ab9b85a 100644 --- a/DBSchema.pm +++ b/DBSchema.pm @@ -14,7 +14,7 @@ use DBIx::DBSchema::ColGroup::Index; #@ISA = qw(Exporter); @ISA = (); -$VERSION = "0.14"; +$VERSION = "0.15"; =head1 NAME diff --git a/DBSchema/DBD/mysql.pm b/DBSchema/DBD/mysql.pm index 9fa7f80..3d64477 100644 --- a/DBSchema/DBD/mysql.pm +++ b/DBSchema/DBD/mysql.pm @@ -4,12 +4,13 @@ use strict; use vars qw($VERSION @ISA %typemap); use DBIx::DBSchema::DBD; -$VERSION = '0.02'; +$VERSION = '0.03'; @ISA = qw(DBIx::DBSchema::DBD); %typemap = ( 'TIMESTAMP' => 'DATETIME', 'SERIAL' => 'INTEGER', + 'BOOL' => 'TINYINT', ); =head1 NAME