Changes between Initial Version and Version 1 of Ticket #24790


Ignore:
Timestamp:
May 12, 2015, 9:31:36 AM (10 years ago)
Author:
Tim Graham
Comment:

Duplicate of #24260

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24790

    • Property Resolutionduplicate
    • Property Status newclosed
  • Ticket #24790 – Description

    initial v1  
    11When I change a model from:
    2 
     2{{{
    33class MyModel(models.Model):
    44    my_name = models.CharField(max_length=100)
    5 
     5}}}
    66to:
    7 
     7{{{
    88class MyModel(models.Model):
    99    name = models.CharField(max_length=100, db_column='my_name')
    10 
     10}}}
    1111migrations removes 'my_name' and adds 'name'.
Back to Top