One common practice to avoid problems with reserved words in column (or table) names is to prefix every name with an underscore.
Is there an elegant and working way in DBIC to accomplish this? I already tried __PACKAGE__->add_columns( user => { data_type => 'varchar', name => '_user', }, ); and deploy() actually generated an SQL column "_user", but then failed at the first __PACKAGE__->add_unique_constraint(['user']); -- Bernhard Graf _______________________________________________ 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