From cec582e73d13d4ce3b29daeb7cd3ea95b75b73f3 Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Mon, 25 Apr 2016 13:57:55 +0100 Subject: [PATCH] Fix migration. --- migrations/versions/0007_template_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/versions/0007_template_history.py b/migrations/versions/0007_template_history.py index 73a096e73..4ac28cb09 100644 --- a/migrations/versions/0007_template_history.py +++ b/migrations/versions/0007_template_history.py @@ -25,7 +25,7 @@ def upgrade(): sa.Column('content', sa.Text(), nullable=False), sa.Column('service_id', postgresql.UUID(as_uuid=True), nullable=False), sa.Column('subject', sa.Text(), nullable=True), - sa.Column('created_by_id', postgresql.UUID(as_uuid=True), nullable=False), + sa.Column('created_by_id', postgresql.UUID(as_uuid=True), nullable=True), sa.Column('version', sa.Integer(), autoincrement=False, nullable=False), sa.PrimaryKeyConstraint('id', 'version') )