From 3591b1b87793a2734718390691bdde41af1f8bd0 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 3 Apr 2020 15:19:08 +0100 Subject: big migration reset --- .../migrations/0002_engagementevent_user.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ctrack/register/migrations/0002_engagementevent_user.py (limited to 'ctrack/register/migrations/0002_engagementevent_user.py') diff --git a/ctrack/register/migrations/0002_engagementevent_user.py b/ctrack/register/migrations/0002_engagementevent_user.py new file mode 100644 index 0000000..59c93d6 --- /dev/null +++ b/ctrack/register/migrations/0002_engagementevent_user.py @@ -0,0 +1,23 @@ +# Generated by Django 2.2.9 on 2020-04-03 14:07 + +import ctrack.register.models +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('register', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='engagementevent', + name='user', + field=models.ForeignKey(on_delete=models.SET(ctrack.register.models.EngagementEvent.get_sentinel_user), to=settings.AUTH_USER_MODEL), + ), + ] -- cgit v1.2.3