Changing database tables

Randy Giackino Posted in Technical Support 9 years ago

Hi, basically here is my issue.

I am looking to change the database table os_users to just users so that i can merge accounts from 2 scripts and have them work together. Basically I am wondering how I can do this and also what file or files I would have to modify so that the script look for the newly named db table users. My other script is much larger then this one so its easier just to modify this script. Thanks in advance for the help.

Replies
German Michael Zülsdorff Replied 9 years ago

Please always read the OSSN documentation first. A lot of questions will be answered automatically this way.

https://github.com/opensource-socialnetwork/opensource-socialnetwork/wiki/Should-i-modify-core-files

To my opinion in this case you have to export/import your users from/to the old/new database.