forked from mirrors/bookwyrm
don't use author name as deduplication field
This commit is contained in:
parent
1e6e4b0f8d
commit
e2836d468d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Author(BookDataModel):
|
||||||
# idk probably other keys would be useful here?
|
# idk probably other keys would be useful here?
|
||||||
born = fields.DateTimeField(blank=True, null=True)
|
born = fields.DateTimeField(blank=True, null=True)
|
||||||
died = fields.DateTimeField(blank=True, null=True)
|
died = fields.DateTimeField(blank=True, null=True)
|
||||||
name = fields.CharField(max_length=255, deduplication_field=True)
|
name = fields.CharField(max_length=255)
|
||||||
aliases = fields.ArrayField(
|
aliases = fields.ArrayField(
|
||||||
models.CharField(max_length=255), blank=True, default=list
|
models.CharField(max_length=255), blank=True, default=list
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue