-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into user-export
- Loading branch information
Showing
52 changed files
with
701 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Generated by Django 3.2.24 on 2024-02-28 21:30 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0196_merge_pr3134_into_main"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="MergedBook", | ||
fields=[ | ||
("deleted_id", models.IntegerField(primary_key=True, serialize=False)), | ||
( | ||
"merged_into", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="absorbed", | ||
to="bookwyrm.book", | ||
), | ||
), | ||
], | ||
options={ | ||
"abstract": False, | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name="MergedAuthor", | ||
fields=[ | ||
("deleted_id", models.IntegerField(primary_key=True, serialize=False)), | ||
( | ||
"merged_into", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="absorbed", | ||
to="bookwyrm.author", | ||
), | ||
), | ||
], | ||
options={ | ||
"abstract": False, | ||
}, | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
bookwyrm/migrations/0199_status_bookwyrm_st_remote__06aeba_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.25 on 2024-04-02 19:53 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0198_book_search_vector_author_aliases"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="status", | ||
index=models.Index( | ||
fields=["remote_id"], name="bookwyrm_st_remote__06aeba_idx" | ||
), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
bookwyrm/migrations/0200_status_bookwyrm_st_thread__cf064f_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.25 on 2024-04-03 19:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0199_status_bookwyrm_st_remote__06aeba_idx"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="status", | ||
index=models.Index( | ||
fields=["thread_id"], name="bookwyrm_st_thread__cf064f_idx" | ||
), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
bookwyrm/migrations/0201_keypair_bookwyrm_ke_remote__472927_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.25 on 2024-04-03 19:10 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0200_status_bookwyrm_st_thread__cf064f_idx"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="keypair", | ||
index=models.Index( | ||
fields=["remote_id"], name="bookwyrm_ke_remote__472927_idx" | ||
), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
bookwyrm/migrations/0202_user_bookwyrm_us_usernam_b2546d_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.25 on 2024-04-03 19:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0201_keypair_bookwyrm_ke_remote__472927_idx"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="user", | ||
index=models.Index( | ||
fields=["username"], name="bookwyrm_us_usernam_b2546d_idx" | ||
), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
bookwyrm/migrations/0203_user_bookwyrm_us_is_acti_972dc4_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 3.2.25 on 2024-04-03 19:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0202_user_bookwyrm_us_usernam_b2546d_idx"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="user", | ||
index=models.Index( | ||
fields=["is_active", "local"], name="bookwyrm_us_is_acti_972dc4_idx" | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Django 3.2.25 on 2024-04-09 10:42 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("bookwyrm", "0197_mergedauthor_mergedbook"), | ||
("bookwyrm", "0203_user_bookwyrm_us_is_acti_972dc4_idx"), | ||
] | ||
|
||
operations = [] |
Oops, something went wrong.