Backend support for discordio links and able to edit in admin panel

This commit is contained in:
Jeremy Zhang
2017-06-04 05:31:45 +00:00
parent c76e0a4993
commit 0b96794120
6 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,28 @@
"""Modified guilds table for discordio capability
Revision ID: 95ab6a63135d
Revises: 32a4d2d7b85f
Create Date: 2017-06-04 05:06:13.118878
"""
# revision identifiers, used by Alembic.
revision = '95ab6a63135d'
down_revision = '32a4d2d7b85f'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('guilds', sa.Column('discordio', sa.String(length=255), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('guilds', 'discordio')
# ### end Alembic commands ###