U
U
unsstrennen2019-03-22 23:20:31
Python
unsstrennen, 2019-03-22 23:20:31

How to implement dynamic table creation in SQLAlchemy?

I'm building a website with Flask and SQLAlchemy. I want to add the ability to add an employee through the admin account. The employee has a schedule, which should be compiled according to data from the database. It turns out that when adding an employee, a table with his schedule should be added to the database.
How can I implement the essence of each worker (a separate class for each worker is inconvenient, and it is not clear how to create it)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question