chintan39 / wildblog

Automatically exported from code.google.com/p/wildblog
Other
0 stars 0 forks source link

Associative properties (7h) #136

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to have a possibility to add some properties to any of the items (any 
model). Model should have a specific number (unique ID) which will be used as 
part of a FK. So FK will consist of model ID and item ID. 

So associated properties will be one table in DB. 

Now how to decide which properties I want to add? There can be a property 
template, which is defined in DB.

In every project there are some general properties, but what if I want to 
define a project-specific property? We should have a possibility to define a 
new one. Is it possible to do that only using two tables (like model is 
defined)? I think it is.

Original issue reported on code.google.com by horak.honza@gmail.com on 1 Oct 2010 at 6:37