37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
	
| # Generated by Django 3.0.7 on 2020-08-07 09:43
 | |
| 
 | |
| import django.contrib.postgres.fields.jsonb
 | |
| from django.db import migrations, models
 | |
| import django.db.models.deletion
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('crm', '0011_enterprise_parent'),
 | |
|         ('project', '0011_remove_subapplication_cert_field_code'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AlterField(
 | |
|             model_name='subapplication',
 | |
|             name='factory',
 | |
|             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subapplication_factory', to='crm.Enterprise'),
 | |
|         ),
 | |
|         migrations.AlterField(
 | |
|             model_name='subapplication',
 | |
|             name='factory_v',
 | |
|             field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, verbose_name='生产厂'),
 | |
|         ),
 | |
|         migrations.AlterField(
 | |
|             model_name='subapplication',
 | |
|             name='manufacture',
 | |
|             field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subapplication_manufacture', to='crm.Enterprise'),
 | |
|         ),
 | |
|         migrations.AlterField(
 | |
|             model_name='subapplication',
 | |
|             name='manufacture_v',
 | |
|             field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, verbose_name='制造商'),
 | |
|         ),
 | |
|     ]
 |