1. Michael Bayer
  2. alembic
  3. Issues


Issue #215 duplicate

Auto generate fail import for array

le stagiaire
created an issue

Import in autogenerate for column type works great except for array :

I tried to declare columns containing an array of string and got this in the autogenerate file :

sa.Column('column_1', postgresql.ARRAY(String()), nullable=False), sa.Column('column_2', postgresql.ARRAY(String()), nullable=True)

Of course the right import here for the array inner elements type is 'sa.String()'

Comments (1)

  1. Log in to comment