Skip to content

Commit

Permalink
Merge pull request #52 from yaal-coop/issue-35-sqlalchemy-deprecation
Browse files Browse the repository at this point in the history
Correction d’une dépréciation émise par `sqlalchemy_utils`
  • Loading branch information
azmeuk authored Dec 8, 2023
2 parents d6cf7af + 4f73eda commit 5d6e3bc
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 5d6e3bc

Please sign in to comment.