From: Dagfinn Ilmari Mannsåker Date: Tue, 5 Feb 2008 18:10:00 +0000 (+0000) Subject: Merge 'trunk' into 'current' X-Git-Tag: 0.04999_01~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75a0d986c00b70def5087234630d47020bfa4a42;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Merge 'trunk' into 'current' r25769@vesla (orig r3882): ilmari | 2007-11-15 14:14:15 +0000 Version bump for release. r27943@vesla (orig r3899): ilmari | 2007-12-14 04:58:03 +0000 Fix test skip count for main skip_rels block r28481@vesla (orig r3976): ilmari | 2008-01-27 05:05:04 +0000 Add support for load_namespaces-style class layout. r28496@vesla (orig r3991): ilmari | 2008-01-30 14:25:32 +0000 Mention _extra_column_info in DBIC::S::L::DBI::Writing r28522@vesla (orig r4017): ilmari | 2008-02-02 21:27:07 +0000 Fix auto-inc column cration for the Oracle tests r28523@vesla (orig r4018): ilmari | 2008-02-02 21:38:45 +0000 Fix some typos r28524@vesla (orig r4019): ilmari | 2008-02-02 21:43:53 +0000 Clean up Oracle loader code r28540@vesla (orig r4035): ilmari | 2008-02-05 16:32:20 +0000 Make sure to get the constraint columns in the right order. --- 75a0d986c00b70def5087234630d47020bfa4a42 diff --cc Changes index d1063b1,88a594a..e2cbf07 --- a/Changes +++ b/Changes @@@ -1,15 -1,11 +1,19 @@@ Revision history for Perl extension DBIx::Class::Schema::Loader -Not yet released +0.04999_01 Not yet released + - Mark foreign key columns with is_foreign_key => 1 + - Add support for vendor-specific extra column attributes. + - Add support for extra => { unsigned => 1 } for MySQL. + - Add support for enum value lists for MySQL + - Set join_type => 'LEFT OUTER' for nullable foreign keys + (patch from Bernhard Weißhuhn) + - Set is_auto_increment for auto-increment columns (RT #31473) + (Only SQLite, MySQL and PostgreSQL are currently supported) + - Generate one-to-one accessors for unique foreign keys (ilmari) + - Add support for load_namespaces-style class layout + - Fix test skip count for main skip_rels block + - Fix auto-inc column creation for the Oracle tests - -0.04004 Thu Nov 15, 2007 ++ - Fix column ordering in unique constraints for Oracle - Fix Win32 test skip counts for good (RT #30568, Kenichi Ishigaki) - Default Oracle db_schema to db username (patch from Johannes Plunien) diff --cc t/lib/dbixcsl_common_tests.pm index ecbdd84,75d6090..8e2d969 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@@ -1119,8 -926,8 +1134,10 @@@ sub drop_tables my $dbh = $self->dbconnect(0); + $dbh->do("DROP TABLE $_") for @{ $self->{extra}->{drop} || [] }; + + my $drop_auto_inc = $self->{auto_inc_drop_cb} || sub {}; + unless($self->{skip_rels}) { $dbh->do("DROP TABLE $_") for (@tables_reltests); unless($self->{vendor} =~ /sqlite/i) {