From: Dagfinn Ilmari Mannsåker Date: Thu, 18 Apr 2013 07:52:15 +0000 (+0100) Subject: Fix stray comma in Pg on_delete/on_update => CASCADE (RT#84706) X-Git-Tag: 0.07036~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e86a3e632e1252022200359c587eb64e6e6ee95;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Fix stray comma in Pg on_delete/on_update => CASCADE (RT#84706) --- diff --git a/Changes b/Changes index 6da624a..4148c80 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Perl extension DBIx::Class::Schema::Loader + - Fix stray comma in Pg on_delete/on_update => CASCADE (RT#84706) + 0.07035 2013-02-26 - Release 0.07034_01 with a stable version number. 0.07034 is skipped due to the improper dev release versioning. diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm index 4c7925a..2ed553d 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm @@ -43,7 +43,7 @@ sub _system_schemas { my %pg_rules = ( a => 'NO ACTION', r => 'RESTRICT', - c => 'CASCADE,', + c => 'CASCADE', n => 'SET NULL', d => 'SET DEFAULT', );