12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # 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", "0007_auto_20201026_2354"),
- ("events", "0002_auto_20201229_1643"),
- ]
- 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",),
- ),
- ]
|