From 9c2cecc113363b59cf4e7a92cc05bdd9deea7ec2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 14 2015 16:08:53 +0000 Subject: Fix the alembic revision - It was referencing a revision that did not exist - Fix typo in the comment/title - Fix the type of the column created --- 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 0cac560..8a5cb9d 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 @@ -1,14 +1,14 @@ -"""Adding column to store edited_by and edited_on a commnet +"""Adding column to store edited_by and edited_on a comment Revision ID: 15ea3c2cf83d -Revises: 21f45b08d882 +Revises: 1cd0a853c697 Create Date: 2015-11-09 16:18:47.192088 """ # revision identifiers, used by Alembic. revision = '15ea3c2cf83d' -down_revision = '21f45b08d882' +down_revision = '1cd0a853c697' from alembic import op import sqlalchemy as sa @@ -29,7 +29,7 @@ def upgrade(): 'pull_request_comments', sa.Column( 'edited_on', - sa.DATETIME, + sa.DateTime, nullable=True) )