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

@@ -32,6 +32,8 @@ class ModelConfigResource(Resource):
new_app_model_config = AppModelConfig(
app_id=app_model.id,
created_by=current_user.id,
updated_by=current_user.id,
)
new_app_model_config = new_app_model_config.from_model_config_dict(model_configuration)