mirror of
https://github.com/simple-login/app.git
synced 2025-09-26 00:16:39 +08:00
try fixing migration
This commit is contained in:
parent
9eb3c7cf2c
commit
8640f830f2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue