Re: [Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

2009-05-26 Thread Chris Cole
I'm guessing there's no way to do it, then? The problem seems to be that the current schema is a DBIx::Class::Schema object, but in order to update it needs to be a DBIx::Class::Schema::Loader object. I can modify the base class to be a Loader object, but then the it barfs because the md5sums are

Re: [Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

2009-05-26 Thread Denny
On Tue, 2009-05-26 at 09:21 +0100, Chris Cole wrote: The problem seems to be that the current schema is a DBIx::Class::Schema object, but in order to update it needs to be a DBIx::Class::Schema::Loader object. I can modify the base class to be a Loader object, but then the it barfs because the

Re: [Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

2009-05-26 Thread Chris Cole
Denny wrote: On Tue, 2009-05-26 at 09:21 +0100, Chris Cole wrote: The problem seems to be that the current schema is a DBIx::Class::Schema object, but in order to update it needs to be a DBIx::Class::Schema::Loader object. I can modify the base class to be a Loader object, but then the it

Re: [Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

2009-05-26 Thread Denny
On Tue, 2009-05-26 at 12:19 +0100, Chris Cole wrote: Denny wrote: On Tue, 2009-05-26 at 09:21 +0100, Chris Cole wrote: The problem seems to be that the current schema is a DBIx::Class::Schema object, but in order to update it needs to be a DBIx::Class::Schema::Loader object. I can modify

Re: [Dbix-class] Regenerating schema following DBIC::Schema::Loader dump_to_dir?

2009-05-26 Thread Chris Cole
Denny wrote: On Tue, 2009-05-26 at 12:19 +0100, Chris Cole wrote: Denny wrote: On Tue, 2009-05-26 at 09:21 +0100, Chris Cole wrote: The problem seems to be that the current schema is a DBIx::Class::Schema object, but in order to update it needs to be a DBIx::Class::Schema::Loader object. I

Re: [Dbix-class] [ANNOUNCE] 0.08103 RC3 - call for testers! (whops)

2009-05-26 Thread Anthony Gladdish
Hi, Using DBIC v0.08102_07. My Result class relationships: 1. Course.pm 2. Event.pm: __PACKAGE__-belongs_to( 'course' = 'Course', 'based_on' ); My test: my $search; push( @$search, ('me.code', { 'like', '%i1%' } ) ); my $rs = $schema-resultset('Event')-search( { -or =

Re: [Dbix-class] dirty-flag on inflated columns

2009-05-26 Thread Matt S Trout
On Fri, May 22, 2009 at 06:43:40AM -0700, Marc Mims wrote: * Peter Rabbitson rabbit+d...@rabbit.us [090522 02:15]: Matt S Trout wrote: Thoughts on whether make_column_dirty should clear the deflated value if an inflated one is present, guys? So now that ::FS is fixed can

Re: [Dbix-class] issue with deploy() and pgsql's timestamp with time zoneUser-Agent: SquirrelMail/1.5.2 [SVN]

2009-05-26 Thread Moritz Onken
Am 23.05.2009 um 22:14 schrieb Moritz Onken: Am 23.05.2009 um 19:32 schrieb Guillaume Chambriat: Hi, I've a PostgreSQL table: create table date_fields ( id serial primary key, message integer references messages(id) on delete cascade, value timestamp

Re: [Dbix-class] [ANNOUNCE] 0.08103 RC3 - call for testers! (whops)

2009-05-26 Thread Peter Rabbitson
Anthony Gladdish wrote: Hi, Using DBIC v0.08102_07. My Result class relationships: 1. Course.pm 2. Event.pm: __PACKAGE__-belongs_to( 'course' = 'Course', 'based_on' ); My test: my $search; push( @$search, ('me.code', { 'like', '%i1%' } ) ); my $rs =

[Dbix-class] [ANNOUNCE] DBIx::Class 0.08103 released to CPAN

2009-05-26 Thread Peter Rabbitson
Greetings, The dbix-class team proudly presents the new shiny DBIC 0.08103. Although it has been less than a month since last release, this version packs a metric ass-ton of new exciting improvements. Without further ado presenting the Changelog: - Multiple $resultset -

[Dbix-class] Resultset relation accessors

2009-05-26 Thread David Ihnen
Sometimes I think i'm missing something obvious. In my application, for instance, a holiday can be assigned to a group. A group has many donors A donor might have many scheduled days A scheduled day is associated with a particular schedule In this spot in my application, the operation is