Files
NovaWoW/home/migrations/0009_stripelog.py
T

31 lines
1.2 KiB
Python

# Generated by Django 5.1.4 on 2025-02-16 18:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('home', '0008_category_remove_storecategory_parent_category_and_more'),
]
operations = [
migrations.CreateModel(
name='StripeLog',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('account_id', models.IntegerField()),
('username', models.CharField(max_length=100)),
('email', models.EmailField(max_length=254)),
('acore_ip', models.GenericIPAddressField()),
('stripe_ip', models.GenericIPAddressField(blank=True, null=True)),
('product_name', models.TextField()),
('amount', models.DecimalField(decimal_places=2, max_digits=10)),
('session_id', models.CharField(max_length=255)),
('mode', models.CharField(choices=[('test', 'Test'), ('live', 'Live')], max_length=10)),
('character_name', models.CharField(max_length=100)),
('timestamp', models.DateTimeField(auto_now_add=True)),
],
),
]