Changeset - 555c8d26988f
default
0
6
0
db: always add to session in Setting.create_or_update
There's no use case for not adding the newly created Setting to the
SQLAlchemy session (and thus, once we commit, the database).
With this change, all the various "create" model methods add their
result to the session.
There's no use case for not adding the newly created Setting to the
SQLAlchemy session (and thus, once we commit, the database).
With this change, all the various "create" model methods add their
result to the session.
6 files changed with 12 insertions and 30 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)