Skip to content

Commit

Permalink
fix: sqlalchemy_utils EncryptedType deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Dec 6, 2023
1 parent 0125825 commit 4f73eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/flaskr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from flask_sqlalchemy import SQLAlchemy
from flaskr.tasks import background_upload
from flaskr.utils import secret_key
from sqlalchemy_utils import EncryptedType
from sqlalchemy_utils import StringEncryptedType


db = SQLAlchemy()
Expand Down Expand Up @@ -585,8 +585,8 @@ class Meeting(db.Model):

# BBB params
name = db.Column(db.Unicode(150))
attendeePW = db.Column(EncryptedType(db.Unicode(50), secret_key()))
moderatorPW = db.Column(EncryptedType(db.Unicode(50), secret_key()))
attendeePW = db.Column(StringEncryptedType(db.Unicode(50), secret_key()))
moderatorPW = db.Column(StringEncryptedType(db.Unicode(50), secret_key()))
welcome = db.Column(db.UnicodeText())
dialNumber = db.Column(db.Unicode(50))
voiceBridge = db.Column(db.Unicode(50))
Expand Down

0 comments on commit 4f73eda

Please sign in to comment.