25 lines
906 B
Python

# Generated by Django 4.0.6 on 2025-01-16 12:39
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='TelegramBot',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(help_text="Name of the bot (e.g., 'SupportBot').", max_length=50, unique=True)),
('username', models.CharField(help_text="The bot's Telegram username (e.g., 'SupportBot').", max_length=50, unique=True)),
('token', models.CharField(help_text='Telegram Bot API token.', max_length=200, unique=True)),
('is_active', models.BooleanField(default=True, help_text='Is this bot active?')),
],
),
]