From 0224b6b4dd0e72a9a86e4fbb6c3c0f4af3c28985 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 14 2015 16:08:54 +0000 Subject: Add missing docstring to the alembic revision --- 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')