1
0
Fork 0

Merge branch 'main' into import-limit

This commit is contained in:
Giebisch 2023-01-16 02:05:18 +01:00
commit d0adb370cd
45 changed files with 863 additions and 884 deletions

View file

@ -17,15 +17,12 @@ class Author(BookDataModel):
max_length=255, blank=True, null=True, deduplication_field=True
)
isni = fields.CharField(
max_length=19, blank=True, null=True, deduplication_field=True
max_length=255, blank=True, null=True, deduplication_field=True
)
gutenberg_id = fields.CharField(
max_length=255, blank=True, null=True, deduplication_field=True
)
isfdb = fields.CharField(
max_length=6, blank=True, null=True, deduplication_field=True
)
website = fields.CharField(
max_length=255, blank=True, null=True, deduplication_field=True
)
# idk probably other keys would be useful here?

View file

@ -58,7 +58,7 @@ class BookDataModel(ObjectMixin, BookWyrmModel):
max_length=255, blank=True, null=True, deduplication_field=True
)
isfdb = fields.CharField(
max_length=6, blank=True, null=True, deduplication_field=True
max_length=255, blank=True, null=True, deduplication_field=True
)
search_vector = SearchVectorField(null=True)