Add activity logs table
This commit is contained in:
2
db.py
2
db.py
@@ -11,6 +11,7 @@ from features.person_overview import PersonOverview
|
||||
from features.stats import Stats
|
||||
from features.dashboard import Dashboard
|
||||
from features.schema import Schema
|
||||
from features.activity import Activity
|
||||
from utils import get_exercise_graph_model
|
||||
|
||||
|
||||
@@ -22,6 +23,7 @@ class DataBase():
|
||||
self.people_graphs = PeopleGraphs(self.execute)
|
||||
self.dashboard = Dashboard(self.execute)
|
||||
self.schema = Schema(self.execute)
|
||||
self.activityRequest = Activity(self.execute)
|
||||
|
||||
db_url = urlparse(os.environ['DATABASE_URL'])
|
||||
# if db_url is null then throw error
|
||||
|
||||
Reference in New Issue
Block a user