this runs with a basic model and even more basic test, but I'm not committing those yet as I'm still playing with the model (lest I make 30 revisions right off the bat) Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
22 lines
547 B
Python
22 lines
547 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from django.db import models, migrations
|
|
from django.conf import settings
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('ircbot', '0008_auto_20150521_2113'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='botadmin',
|
|
name='user',
|
|
field=models.ForeignKey(default=1, to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE),
|
|
preserve_default=False,
|
|
),
|
|
]
|