25 lines
847 B
Python
25 lines
847 B
Python
# Generated by Django 5.2.7 on 2025-12-16 14:13
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Account',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=100)),
|
|
('number', models.CharField(max_length=20, unique=True)),
|
|
('type', models.CharField(choices=[('ASSET', 'Asset'), ('LIABILITY', 'Liability'), ('EQUITY', 'Equity'), ('REVENUE', 'Revenue'), ('EXPENSE', 'Expense')], max_length=10)),
|
|
('balance', models.DecimalField(decimal_places=2, default=0.0, max_digits=15)),
|
|
],
|
|
),
|
|
]
|