Skip to content

Commit

Permalink
Update entry migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 committed Jul 9, 2024
1 parent 35b4dbb commit 5526028
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 69 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.2.25 on 2024-06-09 09:04
# Generated by Django 3.2.25 on 2024-07-09 04:17

from django.db import migrations, models
import django.db.models.deletion
Expand All @@ -7,6 +7,7 @@
class Migration(migrations.Migration):

dependencies = [
('lead', '0051_auto_20240625_0509'),
('entry', '0037_merge_20220401_0527'),
]

Expand All @@ -20,10 +21,15 @@ class Migration(migrations.Migration):
name='EntryAttachment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('entry_file_type', models.PositiveSmallIntegerField(choices=[('1', 'XLSX')], default='1')),
('entry_file_type', models.PositiveSmallIntegerField(choices=[(1, 'XLSX'), (2, 'Image')], default=1)),
('file', models.FileField(upload_to='entry/attachment/')),
('file_preview', models.FileField(upload_to='entry/attachment-preview')),
('entry', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='entry.entry')),
('lead_attachment', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='lead.leadpreviewattachment')),
],
),
migrations.AddField(
model_name='entry',
name='entry_attachment',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='entry.entryattachment'),
),
]
23 changes: 0 additions & 23 deletions apps/entry/migrations/0039_auto_20240609_0933.py

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions apps/entry/migrations/0041_auto_20240621_1149.py

This file was deleted.

0 comments on commit 5526028

Please sign in to comment.