On 10 Feb 2010, at 11:08, iain wrote:
> 
> Dave Cross wrote:
>> Is there a way to take a set of DBIx::Class schema classes and
>> (re-)generate the DDL that was originally used to generate the classes?
>> 
>>  
> I use 
> http://search.cpan.org/~ribasushi/DBIx-Class-0.08118/lib/DBIx/Class/Schema/Versioned.pm
>  for this

Without Versioned (which I use myself), you can just use the deploy* stuff in 
Schema and DBI - 
http://search.cpan.org/~ribasushi/DBIx-Class-0.08118/lib/DBIx/Class/Schema.pm#deploy

        Nigel.

--
[ Nigel Metheringham             [email protected] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


_______________________________________________
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/[email protected]

Reply via email to