diff --git a/alembic/versions/15ea3c2cf83d_adding_column_to_store_edited_by_and_.py b/alembic/versions/15ea3c2cf83d_adding_column_to_store_edited_by_and_.py index 8a5cb9d..f301dd0 100644 --- a/alembic/versions/15ea3c2cf83d_adding_column_to_store_edited_by_and_.py +++ b/alembic/versions/15ea3c2cf83d_adding_column_to_store_edited_by_and_.py @@ -15,6 +15,9 @@ import sqlalchemy as sa def upgrade(): + ''' Add the columns editor_id and edited_on to the table + pull_request_comments. + ''' op.add_column( 'pull_request_comments', @@ -35,5 +38,8 @@ def upgrade(): def downgrade(): + ''' Remove the columns editor_id and edited_on from the table + pull_request_comments. + ''' op.drop_column('pull_request_comments', 'editor_id') op.drop_column('pull_request_comments', 'edited_on')