Roundcube Community Forum

 

DB table prefix

Started by Raboo, April 25, 2009, 04:04:18 PM

Previous topic - Next topic

Raboo

Hello,

I would like to see a table prefix option during installation. For instance if you share one database for several applications.

So you can create like rndcube_tablaname for roundcube. I saw that you can edit the config file manually and set the tablenames there. But it would be a lot easier if it where an install option.

grooverdan

I had a quick attempt at implementing this. It goes a little against the way the installer work with config items. It also required special find and replace on all of the SQL/* files to support customised table names on installation. After I saw that I gave up sorry.

There's an old trac ticket 1484084.

Raboo

Yeah I noticed that the installer didn't create the tables.

But what if the installer did create the tables and then had a prefix?