aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/migrations/0002_engagementevent_user.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-04-03 15:19:08 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-04-03 15:19:08 +0100
commit3591b1b87793a2734718390691bdde41af1f8bd0 (patch)
tree87b98b1fc755f8aabd83484deca73e09c54b84bd /ctrack/register/migrations/0002_engagementevent_user.py
parentc184c99575e03c8b0248b10c65ca234e11695e8d (diff)
big migration reset
Diffstat (limited to 'ctrack/register/migrations/0002_engagementevent_user.py')
-rw-r--r--ctrack/register/migrations/0002_engagementevent_user.py23
1 files changed, 23 insertions, 0 deletions
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),
+ ),
+ ]