[Nitro] composite primary key

George Moschovitis george.moschovitis at gmail.com
Thu Aug 4 05:17:05 EDT 2005


>   set_primary_key :volume, :accession, :page
>   belongs_to :document, Document
> end

Most of the infrastructure to do this is already in place. I 'll
rework the missing details for the next version.
 
> Does Og
> currently handle adding constraints to tables it creates?

yeah, add an :sql_constrain to your class, ie

meta :sql_constrain, 'your sql constrain here'


regards,
George.

-- 
http://www.gmosx.com
http://www.nitrohq.com
http://www.joy.gr




More information about the Nitro-general mailing list