Split db.py and make declarative models

This commit is contained in:
2023-08-29 22:50:53 +02:00
parent c25e5cec27
commit cde79ccb34
30 changed files with 415 additions and 224 deletions

View File

@@ -5,7 +5,8 @@ show_tracebacks = true
input_encoding = 'utf8'
[database]
url = postgresql://robertem@127.0.0.1/pvvvv
; url = postgresql://robertem@127.0.0.1/pvvvv
url = sqlite:///test.db
[limits]
low_credit_warning_limit = -100