Roundcube Community Forum

Release Support => Requests => Topic started by: Raboo on April 25, 2009, 04:04:18 PM

Title: DB table prefix
Post by: Raboo on April 25, 2009, 04:04:18 PM
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.
Title: table prefix on installer
Post by: grooverdan on April 26, 2009, 02:28:10 AM
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.
Title: DB table prefix
Post by: Raboo on April 26, 2009, 01:56:29 PM
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?