File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11Changes
22=======
33
4+ 0.17.1
5+ ------
6+ Fixing a bug with ``SchemaSnapshot`` if column types were changed in migrations
7+ - the snapshot didn't reflect the changes.
8+
490.17.0
510------
611 * Migrations now directly import ``Column`` classes - this allows users to
Original file line number Diff line number Diff line change 1- __VERSION__ = "0.17.0 "
1+ __VERSION__ = "0.17.1 "
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ def get_snapshot(self) -> t.List[DiffableTable]:
8686 != alter_column .old_column_class
8787 ):
8888 if alter_column .column_class is not None :
89- new_column = alter_column .column_class ()
89+ new_column = alter_column .column_class (
90+ ** column ._meta .params
91+ )
9092 new_column ._meta = column ._meta
9193 table .columns [index ] = new_column
9294
You can’t perform that action at this time.
0 commit comments