Commit 4df29910 authored by Valentin Samir's avatar Valentin Samir

Fix migration error for pgsql: column "provider_id" cannot be cast automatically to type integer

parent 502135d6
...@@ -28,7 +28,11 @@ class Migration(migrations.Migration): ...@@ -28,7 +28,11 @@ class Migration(migrations.Migration):
'verbose_name_plural': 'identity providers', 'verbose_name_plural': 'identity providers',
}, },
), ),
migrations.AlterField( migrations.RemoveField(
model_name='federateduser',
name='provider'
),
migrations.AddField(
model_name='federateduser', model_name='federateduser',
name='provider', name='provider',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cas_server.FederatedIendityProvider'), field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cas_server.FederatedIendityProvider'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment