Fakultas Ilmu Komputer UI

0001_initial.py 824 Bytes
Newer Older
Bimo Iman Smartadi's avatar
Bimo Iman Smartadi committed
1
# Generated by Django 2.1.5 on 2020-04-18 09:06
2

Bimo Iman Smartadi's avatar
Bimo Iman Smartadi committed
3
from django.conf import settings
4
from django.db import migrations, models
Bimo Iman Smartadi's avatar
Bimo Iman Smartadi committed
5
import django.db.models.deletion
6
7
8
9
10
11
12


class Migration(migrations.Migration):

    initial = True

    dependencies = [
Bimo Iman Smartadi's avatar
Bimo Iman Smartadi committed
13
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
14
15
16
17
    ]

    operations = [
        migrations.CreateModel(
18
            name='BisaGoUser',
19
20
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21
                ('phone_number', models.CharField(max_length=15, unique=True, verbose_name='Nomor Telepon')),
Bimo Iman Smartadi's avatar
Bimo Iman Smartadi committed
22
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='phone_number', to=settings.AUTH_USER_MODEL)),
23
24
25
            ],
        ),
    ]