Commit 1bb78a9c authored by fred.lpo07's avatar fred.lpo07

update teams list model

parent 10345252
......@@ -21,7 +21,7 @@ class ContractType(db.Model, SaveMixin):
class TeamsList(db.Model, SaveMixin):
id_contract_type = db.Column(db.Integer, primary_key=True)
id_teams_list = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(256), nullable=False, unique=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment