Changes between Initial Version and Version 1 of Ticket #25817, comment 1
- Timestamp:
- Nov 26, 2015, 7:33:40 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25817, comment 1
initial v1 2 2 {{{#!python 3 3 operations = [ 4 migrations.RenameField( 5 model_name='bar', 6 old_name='bar_id', 7 new_name='external_id', 8 ), 4 9 migrations.RunSQL( 5 ' ALTER TABLE form_processor_bar RENAME COLUMN bar_id TO external_id',6 ' ALTER TABLE form_processor_bar RENAME COLUMN external_id TO bar_id',10 'SELECT 1', 11 'SELECT 1', 7 12 state_operations=[ 8 migrations.RenameField(9 model_name='bar',10 old_name='bar_id',11 new_name='external_id',12 ),13 13 migrations.AlterField( 14 14 model_name='bazz',