mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix migrations
This commit is contained in:
parent
709b7cfda6
commit
7de3eb46c5
@ -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),
|
||||
),
|
||||
]
|
@ -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')),
|
Loading…
Reference in New Issue
Block a user