22 lines
652 B
Python
22 lines
652 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from django.db import models, migrations
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='Dispatcher',
|
||
|
fields=[
|
||
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||
|
('key', models.CharField(unique=True, max_length=16)),
|
||
|
('type', models.CharField(max_length=16, choices=[(b'privmsg', b'IRC privmsg'), (b'file', b'Write to file')])),
|
||
|
('destination', models.CharField(max_length=200)),
|
||
|
],
|
||
|
),
|
||
|
]
|