Fix update_entity_from_submission function

The `update_entity_from_submission` function has been updated to correctly handle category fields for rides and ride models. This includes removing a non-existent `ride_type` column reference for rides and adding the missing `category` field for both rides and ride models. The `ride_type` field for ride models has been retained. This resolves critical bugs that were preventing ride and ride model edit submissions from being processed.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-08 04:11:24 +00:00
parent f315f935cc
commit da0ccf7e27
2 changed files with 110 additions and 1 deletions

View File

@@ -6422,10 +6422,10 @@ export type Database = {
}
update_entity_from_submission: {
Args: {
p_changed_by: string
p_data: Json
p_entity_id: string
p_entity_type: string
p_updated_by: string
}
Returns: string
}