79241469

Date: 2024-12-01 11:49:30
Score: 0.5
Natty:
Report link

The function create_all is a SQLAlchemy function, so you need to feed tables in SQLAlchemy table type:

SQLModel.metadata.create_all(engine, tables=[Table1.__table__, Table2.__table__])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: serialx