mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
move db init to web.py
This commit is contained in:
parent
0d6835fe04
commit
6960f076d3
2 changed files with 4 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from datetime import datetime
|
|||
|
||||
from peewee import *
|
||||
|
||||
database = SqliteDatabase('storage/reticulum-webchat.db')
|
||||
database = DatabaseProxy() # use a proxy object, as we will init real db client inside web.py
|
||||
|
||||
|
||||
class BaseModel(Model):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue