Replies: 1 comment
-
If you want to use Reflex' builtin database support, you don't need to do It will only create the tables if you use our builtin way, not if you're creating your connections outside of reflex. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Postgres.. I have a connect_db.py and installed the drivers for postgres "psycopg2-binary"
from sqlmodel import create_engine
def connect():
engine = create_engine("postgresql+psycopg2-binary://postgres:123456@localhost:5432/dbnow")
return engine
but when I ran "reflex run" it is not creating the tables in the database and I am not getting any error.. what should I do to fix this?
Beta Was this translation helpful? Give feedback.
All reactions