123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Generated by Django 3.1.4 on 2020-12-31 16:45
- from django.db import migrations, models
- import django.db.models.deletion
- class Migration(migrations.Migration):
- initial = True
- dependencies = [
- (
- "projects",
- "0001_squashed_0009_alter_project_id_alter_projectcounter_id_and_more",
- ),
- ("events", "0001_squashed_0003_auto_20210116_2110"),
- ]
- operations = [
- migrations.CreateModel(
- name="TransactionEvent",
- fields=[
- (
- "event_ptr",
- models.OneToOneField(
- auto_created=True,
- on_delete=django.db.models.deletion.CASCADE,
- parent_link=True,
- primary_key=True,
- serialize=False,
- to="events.event",
- ),
- ),
- ("transaction", models.CharField(max_length=1024)),
- ("start_timestamp", models.DateTimeField()),
- (
- "project",
- models.ForeignKey(
- on_delete=django.db.models.deletion.CASCADE,
- to="projects.project",
- ),
- ),
- ],
- bases=("events.event",),
- ),
- ]
|