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
parent e38334cfd2
commit bc3a8e0ca2
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()