"""empty message Revision ID: 3b829a27bc337 Revises: 1e8205594ac1 Create Date: 2020-05-27 19:30:54.384047 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3b829a27bc337' down_revision = '1e8205594ac1' branch_labels = None depends_on = None def upgrade(): op.alter_column('User', 'google_credentials', existing_type=sa.Relationship(), new_column_name='google_token') def downgrade(): op.alter_column('User', 'google_token', existing_type=sa.Relationship(), new_column_name='google_credentials')