Replies: 3 comments
-
Set a property class AppUserModel(SQLModel, table=True):
__tablename__ = "app_user"
... |
Beta Was this translation helpful? Give feedback.
-
Same as #159 From main.py
should be
Do not reinvent wheel to convert to snake case. |
Beta Was this translation helpful? Give feedback.
-
This issue is particularly difficult. Here is a minimalist implementation. Code comments highlight shortcomings
Multiple database support is always necessary. Every database will have an For multiple databases to have table, Example class names: Base12345, Base12346, AlembicVersion12345, AlembicVersion12346 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
Wiki was wrote it about rename table name in advance, but no way to rename
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions