That clears it all up. I used __table_args__ and ForeignKeyConstrait.
Alembic handled it perfectly.
Thanks Mike for your help and for creating these libraries.
On Thu, Oct 29, 2015 at 8:34 PM, Mike Bayer
wrote:
>
>
> On 10/29/15 4:26 PM, Gastón Avila wrote:
> > Hi
Hi all,
I used alembic to generate (auto) a migration which added a table to my
postgresql DB which had a foreign key constraint matching two columns in
the new table to two columns in an existing one. The two columns in the
existing table where a joint primary key (hence unique). The
On 10/29/15 4:26 PM, Gastón Avila wrote:
> Hi all,
>
> I used alembic to generate (auto) a migration which added a table to my
> postgresql DB which had a foreign key constraint matching two columns in
> the new table to two columns in an existing one. The two columns in the
> existing table