1
0
Fork 0

Merge branch 'main' into import-limit

This commit is contained in:
Giebisch 2023-01-11 16:22:08 +01:00
commit b22d060d93
31 changed files with 189 additions and 33 deletions

View file

@ -17,12 +17,15 @@ class Author(BookDataModel):
max_length=255, blank=True, null=True, deduplication_field=True
)
isni = fields.CharField(
max_length=255, blank=True, null=True, deduplication_field=True
max_length=19, 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=255, blank=True, null=True, deduplication_field=True
max_length=6, blank=True, null=True, deduplication_field=True
)
search_vector = SearchVectorField(null=True)