Multiple tables in one db.xml?
Permalink 1 user found helpful
Hey there! Is it possible to define multiple tables in one db.xml? I am developing a custom block, and the block would store it's data in several tables. I don't really know how to do this. Can I just write several <schema> definitions or should I write several <table> definitions inside a single <schema>?
Thank you!
Bear in mind that you will need to co-ordinate the various secondary tables with the bID, and that the bID changes whenever a block is edited.
Hey John! Thank you for your reminder on the bID changes. I surely would have missed that! You're cool!
http://www.concrete5.org/documentation/how-tos/developers/creating-...