mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			592 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			592 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.db import migrations
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('extras', '0051_migrate_customfields'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.RemoveField(
 | |
|             model_name='CustomField',
 | |
|             name='default',
 | |
|         ),
 | |
|         migrations.RenameField(
 | |
|             model_name='CustomField',
 | |
|             old_name='default2',
 | |
|             new_name='default'
 | |
|         ),
 | |
|         migrations.DeleteModel(
 | |
|             name='CustomFieldChoice',
 | |
|         ),
 | |
|         migrations.DeleteModel(
 | |
|             name='CustomFieldValue',
 | |
|         ),
 | |
|     ]
 |