You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
818 B
26 lines
818 B
# Generated by Django 4.2.11 on 2024-04-12 15:41
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import uuid
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('tournaments', '0025_customuser_country'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Purchase',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
|
|
('identifier', models.IntegerField()),
|
|
('purchaseDate', models.DateTimeField()),
|
|
('productId', models.CharField(max_length=100)),
|
|
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|
|
|