From 157262305d7e39b4592ac80ded9a730c8b5b5d5f Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 14 Apr 2020 22:34:29 +0200 Subject: [PATCH] tweak migration --- CHANGELOG | 2 ++ migrations/versions/2020_032012_30c13ca016e4_.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 19cf7aef..54a6362d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [2.1.1] - 2020-04-14 +Fix migrations to be compatible with 3x version ## [2.1.0] - 2020-03-23 Support PGP diff --git a/migrations/versions/2020_032012_30c13ca016e4_.py b/migrations/versions/2020_032012_30c13ca016e4_.py index 76f92b05..2a86a339 100644 --- a/migrations/versions/2020_032012_30c13ca016e4_.py +++ b/migrations/versions/2020_032012_30c13ca016e4_.py @@ -21,7 +21,7 @@ def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.alter_column('alias_used_on', 'user_id', existing_type=sa.INTEGER(), - nullable=False) + nullable=True) # ### end Alembic commands ###