mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
try fixing migration
This commit is contained in:
parent
9eb3c7cf2c
commit
8640f830f2
@ -19,7 +19,7 @@ depends_on = None
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('alias', sa.Column('ts_vector', app.models.TSVector(), sa.Computed("to_tsvector('english', note)", persisted=True), nullable=True))
|
||||
op.add_column('alias', sa.Column('ts_vector', "ts_vector", sa.Computed("to_tsvector('english', note)", persisted=True), nullable=True))
|
||||
op.create_index('ix_video___ts_vector__', 'alias', ['ts_vector'], unique=False, postgresql_using='gin')
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user