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
659 B
Python
29 lines
659 B
Python
"""empty message
|
|
|
|
Revision ID: 7bbc2215d87d
|
|
Revises: 92db2e496087
|
|
Create Date: 2020-04-24 11:36:43.600038
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '7bbc2215d87d'
|
|
down_revision = '92db2e496087'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('user', sa.Column('calendarJson', sa.String(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('user', 'calendarJson')
|
|
# ### end Alembic commands ###
|