Page 1 of 1

change hesk table names

Posted: Tue Jan 30, 2007 8:41 am
by mcl
is it complicated to change the hesk table names? the reason I ask is that I would like to run two implementations of hesk on the same DB and obviously the tables would have to have different names...

thanks for any help

Posted: Tue Jan 30, 2007 9:54 am
by Klemen
Well you would have to:
- change table names in the database (using phpMyAdmin for example)
- change names to the new ones throughout the Hesk PHP/SQL code. Quite some work and not recommended if you aren't familiar with PHP/SQL.

I'll see if I can add a variable for table prefix to the next version, but currently ou will have to do the above manually.

Posted: Tue Jan 30, 2007 11:16 am
by mcl
It would be great if you could add it as a variable to the next version :D

would a search and replace across all files be sufficent or would it require some code change?

thanks

Posted: Tue Jan 30, 2007 2:41 pm
by Klemen
Search/replace could work, but not 100% sure. Try it and you'll find out :wink:

Posted: Thu Feb 08, 2007 7:58 am
by mcl
search and replace all files seems to have worked perfectly