init commit
This commit is contained in:
31
lottery/webapp/migrations/0001_initial.py
Normal file
31
lottery/webapp/migrations/0001_initial.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 5.1.6 on 2025-03-03 12:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='APISettings',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('api_url', models.URLField(verbose_name='API URL')),
|
||||
('api_key', models.CharField(max_length=255, verbose_name='API KEY')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='Client',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=255, verbose_name='Имя')),
|
||||
('club_card_number', models.CharField(max_length=100, unique=True, verbose_name='Номер клубной карты')),
|
||||
('telegram_id', models.CharField(blank=True, max_length=50, null=True, verbose_name='Telegram ID')),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user