I have a Postgres table named "user". This needs to be quoted, and it's
configured to be quoted in the MyApp::Model::DB module, but
DBICM::Population isn't quoting it:

> not ok 36 - populate
> 
> #   Failed test 'populate'
> #   at t/00-deploy-test-db.t line 53.
> # died: DBIx::Class::Exception (DBIx::Class::Fixtures::populate(): DBI 
> Exception: DBD::Pg::st execute failed: ERROR:  column "id" does not exist
> # LINE 1: SELECT setval('user_id_seq', (SELECT max(id) FROM user));
> #                                                  ^ [for Statement "SELECT 
> setval('user_id_seq', (SELECT max(id) FROM user));"] at t/00-deploy-test-db.t 
> line 48
> # )

So how do I configure it to enable quoting when my test suite tries to
populate values?


_______________________________________________
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