Fakultas Ilmu Komputer UI

Commit 2221a24c authored by Ahmad Fauzan Amirul Isnain's avatar Ahmad Fauzan Amirul Isnain
Browse files

Merge branch '1706979152-131' into 'master'

[#131] Bugfix: Add missing migrations

Closes #131

See merge request !90
parents c1f9ae43 6c51aa06
Pipeline #60072 passed with stages
in 29 minutes
# Generated by Django 3.1 on 2020-10-31 02:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('authentication', '0008_user_is_subscribing_to_material_comments'),
]
operations = [
migrations.AddField(
model_name='user',
name='is_email_verified',
field=models.BooleanField(default=False),
),
]
# Generated by Django 3.1 on 2020-10-31 02:00
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='EmailVerification',
fields=[
('token', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
('created_on', models.DateTimeField(auto_now_add=True)),
('expire_on', models.DateTimeField(null=True)),
('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
],
),
]
Supports Markdown
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