misc: switch external user id source attribute to a charfield (#27692)
This commit is contained in:
parent
c4bf1137af
commit
422bd6a5d7
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.12 on 2018-10-31 08:00
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('custom_user', '0016_auto_20180925_1107'),
|
||||
('authentic2', '0022_attribute_scopes'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userexternalid',
|
||||
name='source',
|
||||
field=models.CharField(max_length=256, verbose_name='source'),
|
||||
),
|
||||
]
|
|
@ -44,7 +44,7 @@ class DeletedUser(models.Model):
|
|||
class UserExternalId(models.Model):
|
||||
user = models.ForeignKey(settings.AUTH_USER_MODEL,
|
||||
verbose_name=_('user'))
|
||||
source = models.URLField(max_length=256,
|
||||
source = models.CharField(max_length=256,
|
||||
verbose_name=_('source'))
|
||||
external_id = models.CharField(max_length=256,
|
||||
verbose_name=_('external id'))
|
||||
|
|
Loading…
Reference in New Issue