Revision history for Perl extension DBIx::DBSchema.
-0.29 unreleased
+0.29 Thu Feb 16 06:12:42 PST 2006
- Column::sql_add_column fix when adding primary keys to Pg 7.2.x
- workaround for PAUSE parsing of DBIx::DBSchema::DBD::Pg version: move
DBD::Pg verison checking after $VERSION declaration, thanks Andreas!
+ - allow setting an empty default value
0.28 Wed Nov 30 09:46:47 PST 2005
- Initial SQLite support from Jesse Vincent
#@ISA = qw(Exporter);
@ISA = qw();
-$VERSION = '0.04';
+$VERSION = '0.05';
=head1 NAME
my $null = $self->null;
my $default;
- if ( defined($self->default) && $self->default ne ''
- && ref($dbh)
+ if ( defined($self->default) && ref($dbh)
# false laziness: nicked from FS::Record::_quote
&& ( $self->default !~ /^\-?\d+(\.\d+)?$/
|| $type =~ /(char|binary|blob|text)$/i
a DBI connection will be opened and the quoting and type mapping will be more
reliable.
-If passed a DBI data source (or handle) such as `DBI:mysql:database', will use
-PostgreSQL-specific syntax. Non-standard syntax for other engines (if
+If passed a DBI data source (or handle) such as `DBI:Pg:dbname=database', will
+use PostgreSQL-specific syntax. Non-standard syntax for other engines (if
applicable) may also be supported in the future.
=cut
it from different process. Most importantly, DBIx::DBSchema can write SQL
CREATE statements for different databases from a single source.
-Currently supported databases are MySQL, PostgreSQL, Oracle and Sybase.
+Currently supported databases are MySQL, PostgreSQL, Oracle, Sybase and SQLite.
DBIx::DBSchema will attempt to use generic SQL syntax for other databases.
Assistance adding support for other databases is welcomed. See the
DBIx::DBSchema::DBD manpage, "Driver Writer's Guide and Base Class".
Homepage: <http://www.420.am/dbix-dbschema>
-$Id: README,v 1.11 2005-03-11 10:17:53 ivan Exp $
+$Id: README,v 1.12 2006-02-16 14:19:51 ivan Exp $
multiple primary keys (oracle, db2, others?)
+foreign keys and other constraints
+
better documentation for Column::sql_add_column
Additional transformations (deleted, modified columns, added/modified/indices