Adil Mohak c21814a282 Using sqlite3
Using sqlite3 for quick setup and running without installing postgresql
2024-08-31 14:58:01 +03:00

29 lines
986 B
Python

# Generated by Django 4.0.8 on 2024-08-31 11:51
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Invoice',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('total', models.FloatField(blank=True, null=True)),
('amount', models.FloatField(blank=True, null=True)),
('payment_complete', models.BooleanField(default=False)),
('invoice_code', models.CharField(blank=True, max_length=200, null=True)),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]