import databases | |
import orm | |
import psycopg2 | |
#deployment | |
database = databases.Database( | |
"postgresql+asyncpg://postgres:[email protected]:5432/postgres" | |
) | |
#development | |
# database = databases.Database( | |
# "postgresql+asyncpg://postgres:[email protected]:5432/postgres" | |
# ) | |
models = orm.ModelRegistry(database=database) | |