Opened 7 years ago

Closed 6 years ago

#1484084 closed Feature Requests (invalid)

DB tablenames should be more roundcube specific

Reported by: JonnyJD Owned by:
Priority: 5 Milestone:
Component: Database Version: 0.1-beta2
Severity: normal Keywords:
Cc: roundcube@…

Description

Many users have restrictions on the number of databases or just want to use one database for everything. (I know it is more safe to use different ones, but that's not the point)

In order for this to work the tablenames should be named more RoundCube specific and not as general as: users, session...

For example phpBB uses a prefix like "phpbb_".
I would be glad to see roundCube use a prefix too.

I don't know whats the official abbreviation but I would recommend prepending "RC_" to every tablename which is connected to RoundCube.

Change History (4)

comment:1 Changed 7 years ago by JonnyJD

  • Cc roundcube@… added

comment:2 Changed 7 years ago by jpingle

You can already define custom table names in db.inc.php, so for those with such restrictions it would be simple for them to edit that file and change the table names as you suggest.

If this is not sufficient, are you proposing to change the default settings, or perhaps to add a table prefix?

comment:3 Changed 7 years ago by chmac

I would support the creation of a table prefix. It wouldn't be difficult to implement in the db.inc.php file as I've just done that. However, it does require modification of the default .sql files for data import.

I'm guessing that process could be easily automated via PHP though. I'd be happy to create the appropriate files and submit them as patches if that would be useful.

Callum.

comment:4 Changed 6 years ago by thomasb

  • Resolution set to invalid
  • Status changed from new to closed

You can specify custom table names. This should be sufficient.

Note: See TracTickets for help on using tickets.