Commit 2f63d4da authored by Lance Cedric Tan's avatar Lance Cedric Tan

Migrated updates to forum models

parent 245ee6c2
No preview for this file type
# Generated by Django 3.2 on 2023-03-06 05:46
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('dashboard', '0001_initial'),
('forum', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='reply',
name='forum_post',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='forum.forumpost'),
),
migrations.AlterField(
model_name='forumpost',
name='author',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboard.widgetuser'),
),
migrations.AlterField(
model_name='reply',
name='author',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboard.widgetuser'),
),
migrations.AlterField(
model_name='reply',
name='pub_datetime',
field=models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True),
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment