Page 1 of 1

Shared Database

Posted: Mon Sep 08, 2008 11:24 pm
by steadyedd
Hi. Is there a simple way to install the tables to an already created database (ie one that already contains tables for another application - with possible name clash using current OpenCart table names)? If not then I'll have to define a table prefix in the config file and go through every database call and prefix the define (not looking forward to that!!).
Regards, Edward

Re: Shared Database

Posted: Tue Sep 09, 2008 12:40 am
by Qphoria
At this time, OpenCart does not support db prefixes.

Re: Shared Database

Posted: Tue Sep 09, 2008 1:46 am
by steadyedd
Thanks. I did a search after posting (stupid, I know) and found a contribution that prefixes "oc_" but I'm trying to figure out how to merge the included diff file (not used to command line stuff). I'll persevere though. Thanks again