ocsf-schema icon indicating copy to clipboard operation
ocsf-schema copied to clipboard

Database object, type_id bug

Open floydtree opened this issue 1 year ago • 2 comments

type_id enum in the database today, has a bug where two separate enum items use the same id as seen below.

Screenshot 2024-03-13 at 13 08 54

This is how the server renders it, cloud item is ignored -

Screenshot 2024-03-13 at 13 10 44

To make the bugfix non-breaking, we'll need to add cloud as item 7 in the type_id enum.

However, before adding it back, I would like to understand if cloud is even a correct item in the type_id enum for databases, what does cloud type database mean? @adplotzk since you initially created this object.

floydtree avatar Mar 13 '24 17:03 floydtree

Because cloud is not a overarching database type, and the other database types are listed within the enum, the cloud type can be removed entirly in order to dedup type_id 3

adplotzk avatar Mar 13 '24 17:03 adplotzk

Good, thanks for the clarification.

floydtree avatar Mar 13 '24 17:03 floydtree