[katello-devel] key-value pairs for objects in katello db

Ivan Nečas inecas at redhat.com
Wed Aug 15 13:34:00 UTC 2012


On 08/15/2012 03:26 PM, Tom McKay wrote:
> One of the design tasks for this sprint is to come up with a way to associate key-value pairs to systems and subscriptions. This would be similar to the system facts that exist. It would be nice to allow these pairs to exist on other objects now or in the future as well (eg. activation keys).
>
> Question: What is the best way to model this in the katello db? Joins or something?
We have already this in User model: see

    serialize :preferences

this serializes this parameters into blob transparently.

-- Ivan
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel


-- 
Ivan




More information about the katello-devel mailing list