aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/73540b3bf183_removed_twitter_user_property.py
blob: eb530a8746968d7ea708dc65985da251012424bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Removed Twitter user property.

Revision ID: 73540b3bf183
Revises: 2a5604bed382
Create Date: 2023-07-29 16:44:57.629951

"""
# revision identifiers, used by Alembic.
revision = "73540b3bf183"
down_revision = "2a5604bed382"
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.drop_column("user", "twitter")


def downgrade():
    op.add_column("user", sa.Column("twitter", sa.String(), default=""))
bgstack15