We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d75ac17 commit fc54f1aCopy full SHA for fc54f1a
2 files changed
app/core/database_flavor.py
@@ -1,6 +1,7 @@
1
import os
2
from types import SimpleNamespace
3
from app.core.database_service import MysqlDbService, PostgresqlDbService
4
+import settings
5
6
db_flavors = {
7
'postgres': {
app/models.py
@@ -25,11 +25,3 @@ class Database(Base):
25
deleted = Column(Boolean, default=False)
26
disabled = Column(Boolean, default=False)
27
admin_disabled = Column(Boolean, default=False)
28
- # TODO: make database_flavour_name nullable=false
29
- # TODO: Implement the soft delete
30
-
31
- # def password_is_valid(self, password):
32
- # """ checks the password against it's hash to validate the user's password """
33
- # return bcrypt.checkpw(password, self.password)
34
35
-# Base.metadata.create_all(engine)
0 commit comments