2018-09-25 11:58:07 -04:00
|
|
|
# Generated by Django 2.1.1 on 2018-09-25 13:36
|
2018-09-05 14:13:47 -04:00
|
|
|
|
|
|
|
from django.conf import settings
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('quest', '0001_initial'),
|
2018-09-25 11:58:07 -04:00
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
2018-09-05 14:13:47 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='quest',
|
|
|
|
name='owner',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
|
|
),
|
2018-09-25 11:58:07 -04:00
|
|
|
migrations.AddField(
|
|
|
|
model_name='post',
|
|
|
|
name='page',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.Page'),
|
|
|
|
),
|
2018-09-05 14:13:47 -04:00
|
|
|
migrations.AddField(
|
|
|
|
model_name='post',
|
|
|
|
name='quest',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.Quest'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='pollvote',
|
|
|
|
name='option',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.PollOption'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='pollvote',
|
|
|
|
name='user',
|
|
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
2018-09-25 11:58:07 -04:00
|
|
|
model_name='page',
|
2018-09-05 14:13:47 -04:00
|
|
|
name='quest',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.Quest'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='message',
|
|
|
|
name='quest',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.Quest'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='message',
|
|
|
|
name='user',
|
|
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
|
|
|
name='pollvote',
|
|
|
|
unique_together={('option', 'ip_address')},
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='polloption',
|
|
|
|
name='poll',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.Poll'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='diceroll',
|
|
|
|
name='dicecall',
|
|
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='quest.DiceCall'),
|
|
|
|
),
|
|
|
|
]
|