fix migrations

This commit is contained in:
Matthias 2022-02-13 04:15:58 +01:00
parent 709b7cfda6
commit 7de3eb46c5
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 4 additions and 22 deletions

View File

@ -1,18 +0,0 @@
# Generated by Django 3.2.5 on 2021-11-29 22:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('common', '0013_notificationmessage'),
]
operations = [
migrations.AlterField(
model_name='notificationmessage',
name='creation',
field=models.DateTimeField(auto_now_add=True),
),
]

View File

@ -1,4 +1,4 @@
# Generated by Django 3.2.5 on 2021-11-27 14:51
# Generated by Django 3.2.5 on 2022-02-13 03:09
from django.conf import settings
from django.db import migrations, models
@ -8,9 +8,9 @@ import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('contenttypes', '0002_remove_content_type_name'),
('common', '0012_notificationentry'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('common', '0013_webhookendpoint_webhookmessage'),
]
operations = [
@ -23,7 +23,7 @@ class Migration(migrations.Migration):
('category', models.CharField(max_length=250)),
('name', models.CharField(max_length=250)),
('message', models.CharField(blank=True, max_length=250, null=True)),
('creation', models.DateTimeField(auto_now=True)),
('creation', models.DateTimeField(auto_now_add=True)),
('read', models.BooleanField(default=False)),
('source_content_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='notification_source', to='contenttypes.contenttype')),
('target_content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='notification_target', to='contenttypes.contenttype')),