Skip to content

Commit

Permalink
suppression unique name corpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliettejns committed Mar 15, 2024
1 parent 717ad22 commit 59d85e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Corpus(db.Model):
:type name: str
"""
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
name = db.Column(db.String(256), unique=True)
name = db.Column(db.String(256))
context_left = db.Column(db.SmallInteger, default=3)
context_right = db.Column(db.SmallInteger, default=3)
control_lists_id = db.Column(db.Integer, db.ForeignKey('control_lists.id'), nullable=False)
Expand Down

0 comments on commit 59d85e3

Please sign in to comment.