@@ -0,0 +1,1140 @@
+# Copyright (C) 2016 Google Inc., authors, and contributors %3Csee AUTHORS file%3E%0A# Licensed under http://www.apache.org/licenses/LICENSE-2.0 %3Csee LICENSE file%3E%0A# Created By: samo@reciprocitylabs.com%0A# Maintained By: samo@reciprocitylabs.com%0A%0A%22%22%22%0ARename date columns in requests%0A%0ACreate Date: 2016-03-17 17:33:15.817255%0A%22%22%22%0A# disable Invalid constant name pylint warning for mandatory Alembic variables.%0A# pylint: disable=invalid-name%0A%0Afrom alembic import op%0Aimport sqlalchemy as sa%0A%0A%0A# revision identifiers, used by Alembic.%0Arevision = '3715694bd315'%0Adown_revision = '1894405f14ef'%0A%0A%0Adef upgrade():%0A  op.alter_column('requests', 'requested_on', new_column_name='start_date',%0A                  existing_type=sa.Date(), nullable=False)%0A  op.alter_column('requests', 'due_on', new_column_name='end_date',%0A                  existing_type=sa.Date(), nullable=False)%0A%0A%0Adef downgrade():%0A  op.alter_column('requests', 'start_date', new_column_name='requested_on',%0A                  existing_type=sa.Date(), nullable=False)%0A  op.alter_column('requests', 'end_date', new_column_name='due_on',%0A                  existing_type=sa.Date(), nullable=False)%0A

Rename relevant columns on the requests table