migation.
This commit is contained in:
parent
0c95c21666
commit
f847a0e16a
22
tienda_ilusion/don_confiao/migrations/0030_paymentsale.py
Normal file
22
tienda_ilusion/don_confiao/migrations/0030_paymentsale.py
Normal file
@ -0,0 +1,22 @@
|
||||
# Generated by Django 5.0.6 on 2024-08-17 21:00
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('don_confiao', '0029_alter_customer_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='PaymentSale',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('payment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='don_confiao.payment')),
|
||||
('sale', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='don_confiao.sale')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user