[Kamailio-Devel] RFC: database interface module infrastructure

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 14 09:07:36 CEST 2008



On 08/14/08 10:00, Henning Westerholt wrote:
> On Thu, August 14, 2008 8:35 am, Daniel-Constantin Mierla wrote:
>   
>>> stored? I thought it make sense in the db directory, but they do not
>>> belong to the core, more to the modules. So perhaps they should be saved
>>> in the individual module directories?
>>>
>>>
>>>       
>> they should be in the module directory. They belong there and the
>> objects shall stay with the module.
>>     
>
> Hi Daniel,
>
> ok. One reason that i choose this directory in the first place was my
> laziness.. ;-) But you're right, there belong more to the modules then to
> the core. For most modules this should work just fine, perhaps there are
> some adjustments in the "prefix" in the db/schema directory necessary. But
> how should i deal with the presence stuff? There are quite a lot of
> modules that have certain cross table dependencies, if i'm not wrong.
>   
you are right. Just to prove this need, a bug was discovered due to a 
typo in column name. I think the table specification shall have a custom 
attribute saying which modules is using that table, attribute used by 
this tool. Would it be possible?

Cheers,
Daniel

> Cheers,
>
> Henning
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the Devel mailing list