26 lines
922 B
Python
26 lines
922 B
Python
# Generated by Django 5.1.3 on 2025-10-20 13:14
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0028_document_risk_explanations'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PaymentRecord',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('amount', models.DecimalField(decimal_places=2, max_digits=10)),
|
|
('currency', models.CharField(max_length=10)),
|
|
('payment_date', models.DateTimeField(auto_now_add=True)),
|
|
('transaction_id', models.CharField(max_length=255, unique=True)),
|
|
('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.organization')),
|
|
],
|
|
),
|
|
]
|