feat: store created_by and updated_by for apps, modelconfigs, and sites (#7613)

This commit is contained in:
kurokobo 2024-08-28 09:47:30 +09:00 committed by GitHub
commit bc3a8e0ca2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 115 additions and 0 deletions

View file

@ -74,6 +74,8 @@ class WorkflowConverter:
new_app.api_rph = app_model.api_rph
new_app.is_demo = False
new_app.is_public = app_model.is_public
new_app.created_by = account.id
new_app.updated_by = account.id
db.session.add(new_app)
db.session.flush()
db.session.commit()