Skip to content

Commit

Permalink
removes search vector from signal instance table
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilanova committed Nov 29, 2023
1 parent 89f9022 commit dcd0b6a
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""Removes search vector from signal instance model
Revision ID: bdaeabba3e53
Revises: f2605bfc1f59
Create Date: 2023-11-29 12:59:45.408085
"""
from alembic import op

# revision identifiers, used by Alembic.
revision = "bdaeabba3e53"
down_revision = "f2605bfc1f59"
branch_labels = None
depends_on = None


def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(
"signal_instance_search_vector_idx", table_name="signal_instance", postgresql_using="gin"
)
op.drop_column("signal_instance", "search_vector")
# ### end Alembic commands ###


def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
pass

0 comments on commit dcd0b6a

Please sign in to comment.