Skip to content

Commit fc54f1a

Browse files
committed
Add new meta data to project
1 parent d75ac17 commit fc54f1a

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

app/core/database_flavor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
from types import SimpleNamespace
33
from app.core.database_service import MysqlDbService, PostgresqlDbService
4+
import settings
45

56
db_flavors = {
67
'postgres': {

app/models.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,3 @@ class Database(Base):
2525
deleted = Column(Boolean, default=False)
2626
disabled = Column(Boolean, default=False)
2727
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

Comments
 (0)