mirror of
https://github.com/DMOJ/online-judge.git
synced 2024-11-25 16:32:37 +08:00
c189db30f5
We store the timecodes in an IntegerField, which is guaranteed to support values up to 2147483647. This is okay because timecodes are Unix time divided by 30, so it supports values up to the year 4011. This fixes #1692.
19 lines
432 B
Python
19 lines
432 B
Python
# Generated by Django 2.2.24 on 2021-06-06 23:05
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('judge', '0119_hide_problem_authors'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='profile',
|
|
name='last_totp_timecode',
|
|
field=models.IntegerField(default=0, verbose_name='last TOTP timecode'),
|
|
),
|
|
]
|