Hi dbix users,

I am trying to create a schema db into Pg using deploy method.
However, it looks like the method does not use the sql file name passed as argument to deploy to create my schema. It looks like it uses the schema definition given by my Schema::DBmaint::Result::* modules.

Is there a way to use a sql file to be used to create the db schema?

Thanks in advance.

Regards

PS: Here is the code I use :

$conn->deploy({ add_drop_table => 1,
                show_warnings  => 10,
                filename       => $file,
                trace          => 1,
                validate       => 1})
        && $self->fatal("_create_dbschema", "Can't create schema");
--
-------------------------
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-------------------------

_______________________________________________
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.scsys.co.uk

Reply via email to