forked from shaba/openuds
Fixed migration field names on squashed migration. ManyToManyFields where not renamed on empty tables, so i had to move "manually" the creation of the fields on squashed one. Not a big issue, but strange.
This commit is contained in:
parent
195e13682c
commit
d19969fce3
@ -367,11 +367,6 @@ class Migration(migrations.Migration):
|
||||
name='group',
|
||||
unique_together={('manager', 'name')},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='deployedservice',
|
||||
name='assignedGroups',
|
||||
field=models.ManyToManyField(db_table='uds__ds_grps', related_name='deployedServices', to='uds.Group'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='deployedservice',
|
||||
name='osmanager',
|
||||
@ -382,11 +377,6 @@ class Migration(migrations.Migration):
|
||||
name='service',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deployedServices', to='uds.service'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='deployedservice',
|
||||
name='transports',
|
||||
field=models.ManyToManyField(db_table='uds__ds_trans', related_name='deployedServices', to='uds.Transport'),
|
||||
),
|
||||
migrations.AlterUniqueTogether(
|
||||
name='config',
|
||||
unique_together={('section', 'key')},
|
||||
@ -985,6 +975,16 @@ class Migration(migrations.Migration):
|
||||
old_name='DeployedService',
|
||||
new_name='ServicePool',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='servicepool',
|
||||
name='assignedGroups',
|
||||
field=models.ManyToManyField(db_table='uds__ds_grps', related_name='deployedServices', to='uds.Group'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='servicepool',
|
||||
name='transports',
|
||||
field=models.ManyToManyField(db_table='uds__ds_trans', related_name='deployedServices', to='uds.Transport'),
|
||||
),
|
||||
migrations.RenameModel(
|
||||
old_name='DeployedServicePublication',
|
||||
new_name='ServicePoolPublication',
|
||||
|
Loading…
Reference in New Issue
Block a user