mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
30 lines
1011 B
Python
30 lines
1011 B
Python
# Generated by Django 5.1.6 on 2025-03-01 23:48
|
|
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='User',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('email', models.EmailField(max_length=254, unique=True, verbose_name='почта')),
|
|
('username', models.SlugField(unique=True, verbose_name='юзернейм')),
|
|
('password', models.TextField(verbose_name='пароль')),
|
|
('status', models.CharField(choices=[('student', 'Student'), ('metodist', 'Metodist')], default='student', max_length=10)),
|
|
],
|
|
options={
|
|
'verbose_name': 'пользователь',
|
|
'verbose_name_plural': 'пользователи',
|
|
},
|
|
),
|
|
]
|