[owncloud-devel] Database model & ok to extend existing tables?

Vincent Petry pvince81 at owncloud.com
Tue May 24 18:18:15 GMT 2016


You can find the database model defined as XML here:

Adding a column in the core database only for an app to use it doesn't
make much sense. So it would be better if you made a mapping table in
your own app and map by share id.

On another note, this is also a feature request in core
So depending on how much your app is providing besides expiration, you
could also choose to contribute the feature to core.
>From what I remember there is already an expiration column in the
database that can be reused for regular shares.



On 24.05.2016 20:09, Lars Hammarstrand wrote:
> Hi all!
> Some questions I hope someone can answer:
> 1. Does anyone know if there is a database model of oC v9 available
> somewhere?
> 2. I've started to create an "App" that adds an expiration date on shared
> and re-shared items much like the public links. What's the policy regarding
> adding columns to existing tables in this case "oc_share"? Or am I suppose
> to create my own mapping table for example "oc_share_ex" and add my columns
> there?
> 3. Where do you find documentation on the internal frame-work and the
> object relation mappings?
> Any kind of information or pointer is much appreciated
> --
> Many thanks in advance!
> Regard, Lars.
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20160524/1d908e95/attachment.html>

More information about the Devel mailing list