[Dbix-class] Schema export
Bernhard Graf
dbic at augensalat.de
Thu Mar 2 15:43:29 CET 2006
Matt S Trout wrote:
> The sqlt command line tool is a bit weird about what arguments it'll
> take; I think Jess Robinson's done some fixups to sqlfairy CVS
> that'll be in the next release.
>
> Meantime, loading your schema and calling $schema->deploy(); to
> populate an empty database or
>
> print $schema->storage->deployment_statements($schema);
>
> to spit the CREATE TABLE statements to STDOUT should work fine on the
> -current branch.
Thank you - I'll try that.
--
Bernhard Graf
More information about the Dbix-class
mailing list