adds more advanced database handling unsing sql alchemy

- moves app into package
- adds sql alchemy equipment
- moves templates into server package
- add app.db sqlite file
This commit is contained in:
2020-04-22 20:15:21 +00:00
parent 8f20be53e1
commit f156d38739
19 changed files with 605 additions and 275 deletions

Binary file not shown.

View File

@ -1,7 +1,7 @@
from flask_login import UserMixin
from pathlib import Path
from database.db import get_db
from server.database.db import get_db
class User(UserMixin):
def __init__(self, id_, name, email, profile_pic):