[Dbix-class] Please review my proposed CPAN Module: DBIx-Class-Schema-VersionCheck

2017-01-06 Thread Daniel Böhmer
forward to your feedback and releasing the module. Kind regards Daniel Böhmer aka DBOEHMER ___ 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

Re: [Dbix-class] Please review my proposed CPAN Module: DBIx-Class-Schema-VersionCheck

2017-01-06 Thread Daniel Böhmer
how to easily add a version check to MyApp.pm when using DBIC::DH::CLI or DBIC::Migration. Kind regards Daniel Böhmer On 2017-01-06 15:33, Andrew Beverley wrote: On Fri, 6 Jan 2017 "Stefan Hornburg (Racke)" wrote: we are using DeploymentHandler for all our projects with DBIx::Class. I

Re: [Dbix-class] VOTE: Relinquish firstcome rights to Peter Rabbitson

2018-01-17 Thread Daniel Böhmer
I often use DBIC for private and corporate projects and would love to see development resume. I've talked to ribasushi once and think he's capable and willing to realize actual improvements. Therefor, I vote +1. Daniel alias DBOEHMER On 2018-01-17 13:48, Matthew Phillips wrote: Per the

[Dbix-class] ResultSet->delete() unexpectedly fetches and enumerates PKs of affected cells

2019-02-08 Thread Daniel Böhmer
Hi, this is part of a long running debug story. I can't exactly recall on which channels I've already asked questions related to this issue. The real case is about deleting a "project" in a database with all its related records before I applied ON-DELETE-triggers. However I recently compiled

Re: [Dbix-class] Compound keys?

2021-01-16 Thread Daniel Böhmer
Hi Александр, well, if that’s what you meant, I can confirm that foreign keys over 2 columns work fine. Once you’ve got more details, please report what exactly you’re doing with DBIC and what the actual problem is. Good luck! Daniel Böhmer On 2021-01-16 22:49, Александр Поволоцкий wrote

[Dbix-class] What is the actual problem with component load order and how to fix it?

2021-01-16 Thread Daniel Böhmer
to fix it so that only selected tables can load the Ordered component? Kind regards Daniel Böhmer Here the test output: $ git co 37e66bc HEAD is now at 37e66bc Use mro 'c3' in all classes that don't aleady use Moose $ prove -Ilib t/schema_Component_Boolify.t -v t/schema_Component_Boolify.t

Re: [Dbix-class] What is the actual problem with component load order and how to fix it? [EXT]

2021-01-17 Thread Daniel Böhmer
Hi James, On 2021-01-17 10:25, James Gilbert wrote: What are the column definitions in the tables? Well, this is all on GitHub. The files for Result classes with boolean columns are: https://github.com/dboehmer/coocook/blob/issue142/lib/Coocook/Schema/Result/Item.pm

Re: [Dbix-class] What is the actual problem with component load order and how to fix it? [EXT]

2021-01-26 Thread Daniel Böhmer
Hi everyone, I'd really appreciate when someone with more expertise than me could take a look on this. I can do more research on my own but what is the right direction to go for? Daniel On 2021-01-17 14:47, Daniel Böhmer wrote: Hi James, On 2021-01-17 10:25, James Gilbert wrote: What

Re: [Dbix-class] Could not load Schema Class (Billing::Schema). DBIx::Class::ResultSource::add_relationship(): Malformed relationship condition value '': must be prefixed with 'self.'

2021-01-26 Thread Daniel Böhmer
Hello Alex, the simple hashref-type defintion expects a pair of column names. I did the same thing using the coderef-type definition. For an example see https://github.com/dboehmer/coocook/blob/c9b3503f3df44a6817c5402225913815849e4aaa/lib/Coocook/Schema/Result/Unit.pm#L38 Beware that with a