parent
9098e0a1fe
commit
e7c405f56b
1 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
"""Add title field to notification
|
||||
|
||||
Revision ID: 499f6f08de3
|
||||
Revises: 246df01a6d51
|
||||
Create Date: 2015-08-21 14:18:07.287743
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '499f6f08de3'
|
||||
down_revision = '246df01a6d51'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('repositorynotification', sa.Column('title', sa.String(length=255), nullable=True))
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('repositorynotification', 'title')
|
||||
### end Alembic commands ###
|
Reference in a new issue