Call department and region procedure after import data

This commit is contained in:
Yorick Barbanneau 2022-05-03 00:56:01 +02:00
parent 131ec5f070
commit 87402c06fc

View file

@ -245,6 +245,13 @@ if __name__ == '__main__':
conn.commit()
t.stop()
t.start('Call procedure')
with conn.cursor() as curs:
curs.execute("CALL %(schema)s.PRC_POP_REG_DEP()",
{'schema':AsIs(args.schema_name)}
)
t.stop()
t.start('Add Modify Trigger')
with conn.cursor() as curs:
curs.execute("""