raphael
c89ecd7134
- database updated to save google credentials - database updated to save json calendar information - json still saved as a json file under userinfo/<user.id>/calendarevents.json
29 lines
671 B
Python
29 lines
671 B
Python
"""empty message
|
|
|
|
Revision ID: 66f62f457a22
|
|
Revises: 7bbc2215d87d
|
|
Create Date: 2020-04-24 17:12:45.275636
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '66f62f457a22'
|
|
down_revision = '7bbc2215d87d'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('user', sa.Column('google_credentials', sa.String(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('user', 'google_credentials')
|
|
# ### end Alembic commands ###
|