Thanks a lot Mike!
On Wednesday, October 31, 2018 at 7:43:51 PM UTC+1, Mike Bayer wrote:
> here's the issue:
>
>
> https://bitbucket.org/zzzeek/alembic/issues/515/system-true-not-generated-for-column
>
>
Il 31/10/18 16:32, Mike Bayer ha scritto:
On Wed, Oct 31, 2018 at 11:00 AM Riccardo Magliocchetti
wrote:
Hello,
we'd like to use Postgresql xmin column for optimistic concurrency, so we
declared the column as:
xmin = Column("xmin", Integer, system=True, server_default=FetchedValue())
Hello,
we'd like to use Postgresql xmin column for optimistic concurrency, so we
declared the column as:
xmin = Column("xmin", Integer, system=True, server_default=FetchedValue())
The problem is when autogenerating a migration with alembic (via
flask-migrate) the xmin column is added to