Add tradeOffer image field, tweak image generation to only fire once per tradeOffer, even with simultaneous requests
This commit is contained in:
parent
138a929da6
commit
2d826734a0
9 changed files with 127 additions and 80 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 5.1.2 on 2025-03-29 03:33
|
||||
# Generated by Django 5.1.2 on 2025-03-29 21:23
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
|
@ -22,6 +22,7 @@ class Migration(migrations.Migration):
|
|||
('hash', models.CharField(editable=False, max_length=9)),
|
||||
('rarity_icon', models.CharField(max_length=8, null=True)),
|
||||
('rarity_level', models.IntegerField(null=True)),
|
||||
('image', models.ImageField(blank=True, null=True, upload_to='trade_offers/')),
|
||||
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||
('updated_at', models.DateTimeField(auto_now=True)),
|
||||
('initiated_by', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='initiated_trade_offers', to='accounts.friendcode')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue