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

@ -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)