Python backend for a Slack's kudos plugin.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'main' of github.com:Dekalabs/kefi-backend

+32
+32
kefi/migrations/versions/dc867102b767_add_text_to_response.py
··· 1 + """add text to response 2 + 3 + Revision ID: dc867102b767 4 + Revises: 34f4d077830a 5 + Create Date: 2021-11-09 17:04:30.538910 6 + 7 + """ 8 + import sqlalchemy as sa 9 + import sqlmodel 10 + from alembic import op 11 + 12 + # revision identifiers, used by Alembic. 13 + revision = "dc867102b767" 14 + down_revision = "34f4d077830a" 15 + branch_labels = None 16 + depends_on = None 17 + 18 + 19 + def upgrade(): 20 + # ### commands auto generated by Alembic - please adjust! ### 21 + op.add_column( 22 + "action", sa.Column("text", sqlmodel.sql.sqltypes.AutoString(), nullable=True) 23 + ) 24 + op.create_index(op.f("ix_action_text"), "action", ["text"], unique=False) 25 + # ### end Alembic commands ### 26 + 27 + 28 + def downgrade(): 29 + # ### commands auto generated by Alembic - please adjust! ### 30 + op.drop_index(op.f("ix_action_text"), table_name="action") 31 + op.drop_column("action", "text") 32 + # ### end Alembic commands ###