Re: [Dbix-class] DBIC Schema to DDL

2010-02-10 Thread Pedro Melo
Hi, On Wed, Feb 10, 2010 at 11:45 AM, Dave Cross wrote: > But now, I've gone back and actually _read_ the documentation - and > everything works fine. > > Thanks for your help. I now have a database[1]. ... > [1] And, perhaps more usefully, no further need to put my DDL in source > code control :

Re: [Dbix-class] DBIC Schema to DDL

2010-02-10 Thread Dave Cross
On 02/10/2010 11:08 AM, 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/Versione

Re: [Dbix-class] DBIC Schema to DDL

2010-02-10 Thread Nigel Metheringham
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/Ve

Re: [Dbix-class] DBIC Schema to DDL

2010-02-10 Thread Peter Rabbitson
Dave Cross wrote: > I'm revisiting an old project that I last worked on a year ago. I have > the DBIx::Class schema files, but the database itself disappeared in a > server move and I (stupidly) didn't put the DDL into git. > > Is there a way to take a set of DBIx::Class schema classes and > (re-)

Re: [Dbix-class] DBIC Schema to DDL

2010-02-10 Thread iain
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 Iain Hubbard. __

[Dbix-class] DBIC Schema to DDL

2010-02-10 Thread Dave Cross
I'm revisiting an old project that I last worked on a year ago. I have the DBIx::Class schema files, but the database itself disappeared in a server move and I (stupidly) didn't put the DDL into git. Is there a way to take a set of DBIx::Class schema classes and (re-)generate the DDL that was ori