Using Moodle DB object for external/ non native DB table ?

Re: Using Moodle DB object for external/ non native DB table ?

by Jeff Noel -
Number of replies: 0

Sometimes, simple answers are the best move. I was about to fiddle with the DB object's prefix property, but it's way better to rename the table... especially since this one hasn't been used elsewhere for now.

Thank you very much for the idea !


For those wondering, our development team opted for "ext_" prefixes to differentiate tables used by our customs plugins, BUT also used by external APIs. This way our tests can be sorted out more easily when migrating or developing new environments for our Moodle instances.


Thanks everyone for the good suggestions !