Fix migration error for pgsql: column "provider_id" cannot be cast automatically to type integer
This commit is contained in:
parent
502135d6ca
commit
4df2991079
1 changed files with 5 additions and 1 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue