Fakultas Ilmu Komputer UI

0001_initial.py 844 Bytes
Newer Older
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
1
2
3
# -*- coding: utf-8 -*-
# Generated by Django 1.11.17 on 2019-12-09 07:10
from __future__ import unicode_literals
4
5

from django.db import migrations, models
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
6
import uuid
7
8
9
10
11
12
13
14
15
16
17


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
18
            name='User',
19
            fields=[
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
20
                ('email', models.EmailField(max_length=254, primary_key=True, serialize=False)),
21
22
23
            ],
        ),
        migrations.CreateModel(
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
24
            name='Token',
25
            fields=[
Muhammad Ilham Peruzzi's avatar
Muhammad Ilham Peruzzi committed
26
27
28
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.EmailField(max_length=254)),
                ('uid', models.CharField(default=uuid.uuid4, max_length=40)),
29
30
31
            ],
        ),
    ]