This commit is contained in:
devStorm 2021-05-26 22:34:50 -07:00
parent 258d505cbf
commit e6192ece01
No known key found for this signature in database
GPG Key ID: D52E1B66F336AC57
1 changed files with 1 additions and 2 deletions

View File

@ -163,11 +163,11 @@ class AliasGeneratorEnum(EnumE):
uuid = 2 # aliases are generated based on uuid
class AliasSuffixEnum(EnumE):
word = 0 # Random word from dictionary file
random_string = 1 # Completely random string
class Hibp(db.Model, ModelMixin):
__tablename__ = "hibp"
name = db.Column(db.String(), nullable=False, unique=True, index=True)
@ -177,7 +177,6 @@ class Hibp(db.Model, ModelMixin):
return f"<HIBP Breach {self.id} {self.name}>"
class Fido(db.Model, ModelMixin):
__tablename__ = "fido"
credential_id = db.Column(db.String(), nullable=False, unique=True, index=True)