tranny / App /modelInit.py
Mbonea's picture
hello
252d749
raw
history blame
402 Bytes
import databases
import orm
import psycopg2
#deployment
database = databases.Database(
"postgresql+asyncpg://postgres:PkkneZrSFsnJR6B@db.vfhoydxvxuesxhrcdnmx.supabase.co:5432/postgres"
)
#development
# database = databases.Database(
# "postgresql+asyncpg://postgres:zJAkapOh3IVt8R0h@db.mygpwobpwxttmilnxrtu.supabase.co:5432/postgres"
# )
models = orm.ModelRegistry(database=database)