expires in may be not small
This commit is contained in:
parent
fe55a2a5ea
commit
49898143ce
|
@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
('access_token', models.CharField(max_length=32, verbose_name='access token')),
|
('access_token', models.CharField(max_length=32, verbose_name='access token')),
|
||||||
('expires_in', models.PositiveSmallIntegerField(verbose_name='expires in')),
|
('expires_in', models.PositiveIntegerField(verbose_name='expires in')),
|
||||||
('scopes', models.CharField(max_length=255, verbose_name='scopes')),
|
('scopes', models.CharField(max_length=255, verbose_name='scopes')),
|
||||||
('refresh_token', models.CharField(max_length=32, verbose_name='refresh token')),
|
('refresh_token', models.CharField(max_length=32, verbose_name='refresh token')),
|
||||||
('expires_at', models.DateTimeField(verbose_name='expires at')),
|
('expires_at', models.DateTimeField(verbose_name='expires at')),
|
||||||
|
|
|
@ -119,7 +119,7 @@ class AccessToken(models.Model):
|
||||||
verbose_name=_('access token'),
|
verbose_name=_('access token'),
|
||||||
)
|
)
|
||||||
|
|
||||||
expires_in = models.PositiveSmallIntegerField(
|
expires_in = models.PositiveIntegerField(
|
||||||
verbose_name=_('expires in'),
|
verbose_name=_('expires in'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue