Martin Marques wrote:
I found some lines in this file. Particularly the ones that give information on the table names and sequence names in the case of PostgreSQL.
Are they really necesary? Shouldn't we use the default table names that are in the SQL/* files?
To avoid naming conflicts in shared databases, RoundCube offers the ability to use other table names than the suggested ones. You don't have to change them, it's just a POSSIBILITY and the default settings should match with the SQL/* files. What's the disadvantage to make table names configurable?
And also, does RC use the PG sequences explicitly?
Yes, these are used to retrieve the record ID after an INSERT operation. If you don't use Postgres you can ignore or even delete them because other databases offer functions like last_insert_id.
Regards, Thomas