Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 70851
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: rickypc [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: DBIx::Class::Schema::Loader::DBI::Oracle 0.07010 multi schema unique constraint patch
Date: Fri, 9 Sep 2011 12:13:08 -0700
To: bug-DBIx-Class-Schema-Loader [...] rt.cpan.org
From: Richard Huang <rickypc [...] gmail.com>
85,86c85 < WHERE all_constraints.owner = acc.owner AND constraint_type='U' < AND acc.table_name=? AND acc.owner = ? --- Show quoted text
> WHERE acc.table_name=? and acc.owner = ? AND
constraint_type='U'
Hi, what issue does this patch solve for you? What were you seeing?
Subject: Re: [rt.cpan.org #70851] DBIx::Class::Schema::Loader::DBI::Oracle 0.07010 multi schema unique constraint patch
Date: Sat, 10 Sep 2011 15:01:33 -0700
To: bug-DBIx-Class-Schema-Loader [...] rt.cpan.org
From: Richard Huang <rickypc [...] gmail.com>
Hi Rafael, When I try to regenerate dbix schema class on oracle with multiple schema instance, I got the same column repeated multiple times where the actual unique column only one for the requested instance. Below is an example of expected result and the actual result: Expected: __PACKAGE__->add_unique_constraint("xxx_uc", ["xxx"]); Actual (assumed I have 5 oracle schema instances): __PACKAGE__->add_unique_constraint( "xxx_uc", [ "xxx", "xxx", "xxx", "xxx", "xxx", ], ); On Sat, Sep 10, 2011 at 12:35 PM, Rafael Kitover via RT < bug-DBIx-Class-Schema-Loader@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70851 > > > Hi, what issue does this patch solve for you? What were you seeing? >
Fixed in git master, with tests, thanks for the report.
Fixed in 0.07011.