[Owncloud] database: enlarge configvalue column | config files

Robin Appelman icewind at owncloud.com
Fri Feb 24 22:55:19 UTC 2012


On Friday 24 February 2012 17:12:58 Arthur Schiwon wrote:
> On Friday 24 February 2012 16:53:14 Thomas Tanghus wrote:
> > On Friday 24 February 2012 14:18 Arthur Schiwon wrote:
> > > Oversaw this one. MDB2 should take care of it.
> > > 
> > > MDB2 also make use of LONGTEXT instead of TEXT, at leat in MysQL and
> > > SQLite.>
> > > 
> > > > That is such a small table, I doubt that there are significant changes
> > > > in
> > > > performance. What might be interesting is to create an key on appid
> > > > and
> > > > configkey, currently there is none.
> > > 
> > > I played a bit with it, simply changing this col to LONGTEXT is fine us.
> > 
> > I noticed your commit earlier. Never really found out: does the version
> > bump trigger an automatic DB update? If so, does it also do it for single
> > apps?
> Yes, the version bump triggers an DB update (tried it out before). The
> mechanism checks the ownCloud version in database or config fil0e with the
> version given in the source. Afaik and can see it does not apply for apps.
> Robin should know better about it :)

Apps can bumb their version number in their info.xml to get a DB update.

 - Robin Appelman



More information about the Owncloud mailing list