Page 1 of 1

Table Prefix

Posted: Wed Jan 09, 2008 7:48 am
by skaimauve
This contribution adds a prefix to all tables and allows OpenCart with more ISPs.

The prefix is "oc_" and is not configurable. However you can easily change it with a simple search and replace on the patch file itself.

A readme file is included and describes how to apply the patch.

It works with OpenCart 0.7.7. A patch is also inclided to migrate an already existing database.

Note: all files from the current OpenCart distribution are in DOS format and the diff might not work for you. To convert, you can use command such as tr or unix2dos.

Re: Table Prefix

Posted: Wed Nov 12, 2008 4:41 am
by hm2k
Bringing up an old topic...

Also mentioned here:

http://forum.opencart.com/index.php/topic,171.0.html
http://forum.opencart.com/index.php/topic,186.0.html
http://forum.opencart.com/index.php/topic,562.0.html

It should be fairly easy to impliment, but it needs to be done properly, and needs to be backwards compatible.

I've handled this before in another project so it should be okay.

This contrib may provide details I may have missed.

Re: Table Prefix

Posted: Wed Nov 12, 2008 6:09 am
by Qphoria
Amen sister!