diff options
author | Andrew Godwin | 2022-11-11 22:02:43 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-11 22:02:43 -0700 |
commit | feb5d9b74fa1e8454eaaf29afae3643c6d7c81f1 (patch) | |
tree | 3889a826dfc2c852aa4873daff2a27cb7c1a2b01 /statuses/migrations | |
parent | fbfad9fbf5e061cb7c658dada3c4014c9796021c (diff) | |
download | takahe-feb5d9b74fa1e8454eaaf29afae3643c6d7c81f1.tar.gz takahe-feb5d9b74fa1e8454eaaf29afae3643c6d7c81f1.tar.bz2 takahe-feb5d9b74fa1e8454eaaf29afae3643c6d7c81f1.zip |
Got up to incoming posts working
Diffstat (limited to 'statuses/migrations')
-rw-r--r-- | statuses/migrations/0001_initial.py | 56 | ||||
-rw-r--r-- | statuses/migrations/__init__.py | 0 |
2 files changed, 0 insertions, 56 deletions
diff --git a/statuses/migrations/0001_initial.py b/statuses/migrations/0001_initial.py deleted file mode 100644 index c4a8fec..0000000 --- a/statuses/migrations/0001_initial.py +++ /dev/null @@ -1,56 +0,0 @@ -# Generated by Django 4.1.3 on 2022-11-10 05:58 - -import django.db.models.deletion -from django.db import migrations, models - - -class Migration(migrations.Migration): - - initial = True - - dependencies = [ - ("users", "0001_initial"), - ] - - operations = [ - migrations.CreateModel( - name="Status", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("local", models.BooleanField()), - ("uri", models.CharField(blank=True, max_length=500, null=True)), - ( - "visibility", - models.IntegerField( - choices=[ - (0, "Public"), - (1, "Unlisted"), - (2, "Followers"), - (3, "Mentioned"), - ], - default=0, - ), - ), - ("text", models.TextField()), - ("created", models.DateTimeField(auto_now_add=True)), - ("updated", models.DateTimeField(auto_now=True)), - ("deleted", models.DateTimeField(blank=True, null=True)), - ( - "identity", - models.ForeignKey( - on_delete=django.db.models.deletion.PROTECT, - related_name="statuses", - to="users.identity", - ), - ), - ], - ), - ] diff --git a/statuses/migrations/__init__.py b/statuses/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/statuses/migrations/__init__.py +++ /dev/null |