[Dbix-class] ON DELETE statement in Pg not avaiable in schema::loader?

Moritz Onken onken at houseofdesign.de
Fri Feb 29 11:45:56 GMT 2008


Hi again,

Matt wrote some weeks ago a nice mail that we should push postgres a  
little bit.
I'd like to write some code which supports postgres even more but I  
need some help.
So maybe someone could write something to my earlier post.

moritz

Am 26.02.2008 um 13:17 schrieb Moritz Onken:

> Hi,
>
> I use the ON DELETE statements in my Pg database to set the foreign  
> key to null if a column is deleted.
>
> But this information doesn't make it's way to the schema if I use  
> Schema::Loader. And therefore the files created by create_ddl_dir  
> are useless because they don't contain this information either.
>
> I'd like to write a patch but I have no clue where to put this kind  
> of code!
>
> regards,
>
> moritz
>
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.rawmode.org




More information about the DBIx-Class mailing list