init commit
This commit is contained in:
23
lottery/bot/migrations/0001_initial.py
Normal file
23
lottery/bot/migrations/0001_initial.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.1.6 on 2025-03-21 03:44
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='BotConfig',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('bot_token', models.CharField(help_text='Токен для подключения к Telegram API', max_length=255)),
|
||||
('channel_id', models.CharField(help_text='ID канала/чата, куда бот будет отправлять сообщения', max_length=100)),
|
||||
('bot_name', models.CharField(help_text='Отображаемое имя бота', max_length=100)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user