diff --git a/app/modeles/princes_db_tables.py b/app/modeles/princes_db_tables.py index 5cfa842..343af0b 100644 --- a/app/modeles/princes_db_tables.py +++ b/app/modeles/princes_db_tables.py @@ -72,12 +72,12 @@ class Acte(Model): numb_acte = TextField() date_time = TextField() # YYYY-MM-DD date = TextField() # verbose + prod_place_acte = ForeignKeyField(Production_place, backref='actes') analysis = TextField() doc_acte = ForeignKeyField(Document, backref='actes') ref_acte = TextField() # cote state_doc = ForeignKeyField(State, backref='actes') diplo_type_acte = ForeignKeyField(Diplo_type, backref='actes') - prod_place_acte = ForeignKeyField(Production_place, backref='actes') class Meta: database = db