Image_properties 'key' column collides with SQL KEY keyword

Bug #726685 reported by Rick Harris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Jay Pipes

Bug Description

Currently we use the column name 'key' in our image_properties table. This is a problem since `KEY` is a keyword in SQL. This makes working with this table using CLI tools a little difficult.

Alternative names:

* name (makes sense in context of name-value-pairs NVP)
* prop_key

I prefer 'name'. Thoughts?

Related branches

Revision history for this message
Jay Pipes (jaypipes) wrote :

name is fine by me.

Changed in glance:
status: New → Confirmed
importance: Undecided → Low
Jay Pipes (jaypipes)
Changed in glance:
assignee: nobody → Jay Pipes (jaypipes)
milestone: none → cactus-2011-04-07
Jay Pipes (jaypipes)
Changed in glance:
status: Confirmed → In Progress
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: cactus-2011-04-07 → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.