26 lines
900 B
Python
26 lines
900 B
Python
|
# Generated by Django 4.2.7 on 2024-06-23 00:47
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('tickets', '0008_alter_issuethread_options_and_more'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='ShippingVoucher',
|
||
|
fields=[
|
||
|
('id', models.AutoField(primary_key=True, serialize=False)),
|
||
|
('voucher', 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_vouchers', to='tickets.issuethread')),
|
||
|
],
|
||
|
),
|
||
|
]
|