limit users for channel helper

This commit is contained in:
2020-05-05 11:47:40 +03:00
parent 89e839d36f
commit 203efae85d
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Generated by Django 3.0rc1 on 2020-05-05 08:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bots', '0021_auto_20200212_2022'),
]
operations = [
migrations.CreateModel(
name='ChannelHelperUser',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32)),
('user_id', models.BigIntegerField(db_index=True)),
],
),
migrations.AddField(
model_name='channelhelperbotmoduleconfig',
name='users',
field=models.ManyToManyField(to='bots.ChannelHelperUser'),
),
]