stash
This commit is contained in:
parent
9c3fedc5c3
commit
13430c0f04
4 changed files with 11 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 4.2.7 on 2024-06-15 15:59
|
||||
# Generated by Django 4.2.7 on 2024-06-15 17:37
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
@ -16,6 +16,7 @@ class Migration(migrations.Migration):
|
|||
fields=[
|
||||
('id', models.AutoField(primary_key=True, serialize=False)),
|
||||
('code', models.CharField(max_length=255)),
|
||||
('type', models.CharField(max_length=255)),
|
||||
('timestamp', models.DateTimeField(auto_now_add=True)),
|
||||
('used_at', models.DateTimeField(null=True)),
|
||||
('issue_thread', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='shipping_codes', to='tickets.issuethread')),
|
||||
|
|
|
@ -142,6 +142,7 @@ class ShippingCode(models.Model):
|
|||
id = models.AutoField(primary_key=True)
|
||||
issue_thread = models.ForeignKey(IssueThread, on_delete=models.CASCADE, related_name='shipping_codes', null=True)
|
||||
code = models.CharField(max_length=255)
|
||||
type = models.CharField(max_length=255)
|
||||
timestamp = models.DateTimeField(auto_now_add=True)
|
||||
used_at = models.DateTimeField(null=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue