27 lines
		
	
	
		
			852 B
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			852 B
		
	
	
	
		
			Python
		
	
	
	
| # Generated by Django 3.2.6 on 2021-10-14 01:44
 | |
| 
 | |
| from django.db import migrations, models
 | |
| import django.db.models.deletion
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
| 
 | |
|     dependencies = [
 | |
|         ('em', '0009_auto_20210916_1108'),
 | |
|         ('mtm', '0021_auto_20211013_0856'),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name='subproduction',
 | |
|             name='process',
 | |
|             field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='subproduction_process', to='mtm.process', verbose_name='隶属大工序'),
 | |
|             preserve_default=False,
 | |
|         ),
 | |
|         migrations.AlterField(
 | |
|             model_name='step',
 | |
|             name='equipments',
 | |
|             field=models.ManyToManyField(related_name='step_equips', to='em.Equipment', verbose_name='使用设备'),
 | |
|         ),
 | |
|     ]
 |