Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#2 Demonstrate separate schema for additional customer fields

Jeff Kowalczyk

Per #ledgersmb conversation with metatrontech:

One may have a third-party app, with tens of fields in the table corresponding to LSMB customers. Question asked where to store these additional fields.

"Add another schema and create a database tables for the fields. Then these could be linked against for now, and when you upgrade they could be moved to You should reference the tables by the full path, i.e. schema_name.table_name."

This bug requests that this advice solving a very common problem be codified into a FAQ or HowTo, perhaps with a SQL script to create the schema and interschema relations according to best practices and name conventions, for the benefit those without extensive SQL knowledge.

The integrator could customize the SQL script with their particular custom fields in the additional schema.

Proliferation of this style of additional data storage of may lead to smoother and better-documented migration to 1.3 for customized datasets.



  • trevor

    Logged In: YES
    Originator: NO

    I consider this to be quite important/beneficial as well. I have made numerous extensions to the customer, vendor, and part tables. Right now, it is transparent. But when DB upgrades/changes occur, I will be seriously affected. If I knew the 'best' way to do this to mitigate migration problems in the future, then I could save myself some headache and time.