changes
This commit is contained in:
27
app/migrations/0370_transaction_gift.py
Normal file
27
app/migrations/0370_transaction_gift.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 5.1.7 on 2026-01-27 03:02
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0369_alter_internal_entry_customer'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Transaction_Gift',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('create_time', models.DateTimeField(auto_now_add=True, null=True)),
|
||||
('update_time', models.DateTimeField(auto_now=True, null=True)),
|
||||
('gift', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='+', to='app.gift')),
|
||||
('transaction', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='txngift', to='app.transaction')),
|
||||
],
|
||||
options={
|
||||
'db_table': 'transaction_gift',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user