I have a few link bean tables that were built by Redbean - each was created as a result of the following type of code;
Most of my link bean tables are named image_tag, document_tag. But I also have tag_video, which is a problem. I would prefer video_tag. I'd like to be able to predict the link bean table names because I want to use them in JOIN's for times when I query the database directly, rather than using the ORM. Is there a rule? Is it alphabetic perhaps? Can I insist on the 'parent' object type coming first in the table name? |