I had to use
__tablename__ = 'some_name'
__table_args__ = (PrimaryKeyConstraint('id'), )
in my declarative models to get the same result.
Thanks Mike, that clears it all up.
On Mon, Jan 25, 2016 at 6:12 PM, Mike Bayer
wrote:
>
>
> On 01/25/2016 02:51 PM, Gastón
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