summaryrefslogtreecommitdiffstats
path: root/users/migrations
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-16 21:42:25 -0700
committerAndrew Godwin2022-11-16 21:42:25 -0700
commit5b34ea46c3f458a174c5443714ade43c21defdac (patch)
treee41dda2218cee559268f99a802210f7507f47b02 /users/migrations
parent9d97fc92d82289301896c88f8c828321aa99701d (diff)
downloadtakahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.gz
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.bz2
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.zip
Call it admin rather than system settings
Diffstat (limited to 'users/migrations')
-rw-r--r--users/migrations/0003_user_last_seen_alter_identity_domain.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/users/migrations/0003_user_last_seen_alter_identity_domain.py b/users/migrations/0003_user_last_seen_alter_identity_domain.py
new file mode 100644
index 0000000..b6c49d1
--- /dev/null
+++ b/users/migrations/0003_user_last_seen_alter_identity_domain.py
@@ -0,0 +1,34 @@
+# Generated by Django 4.1.3 on 2022-11-17 04:18
+
+import django.db.models.deletion
+import django.utils.timezone
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("users", "0002_identity_public_key_id"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="user",
+ name="last_seen",
+ field=models.DateTimeField(
+ auto_now_add=True, default=django.utils.timezone.now
+ ),
+ preserve_default=False,
+ ),
+ migrations.AlterField(
+ model_name="identity",
+ name="domain",
+ field=models.ForeignKey(
+ blank=True,
+ null=True,
+ on_delete=django.db.models.deletion.PROTECT,
+ related_name="identities",
+ to="users.domain",
+ ),
+ ),
+ ]