Changes between Initial Version and Version 1 of Ticket #31257
- Timestamp:
- Feb 11, 2020, 3:34:56 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31257
- Property Resolution → worksforme
- Property Status new → closed
- Property Summary django migration has not been correctly applied for decimal_places - mysql → Migrations don't apply changes for decimal_places on MySQL.
-
Ticket #31257 – Description
initial v1 1 1 I use mysql in django and have these migration file 2 ``` 2 {{{ 3 3 class Migration(migrations.Migration): 4 4 … … 15 15 ] 16 16 17 ``` 18 Migration has been already applied but in db there is still old decimal_places=3 schema 19 `| jedn_cena | decimal(12,3) | NO | | NULL | | 20 ` 17 }}} 21 18 22 ``` 19 Migration has been already applied but in db there is still old `decimal_places=3` schema 20 {{{ 21 | jedn_cena | decimal(12,3) | NO | | NULL | | 22 }}} 23 23 python3 manage.py sqlmigrate ft 0011_auto_20200103_1523 24 {{{ 24 25 BEGIN; 25 26 -- … … 27 28 -- 28 29 COMMIT; 29 30 ``` 30 }}}