BeechCMS / @beechcms/core / generateJunctionDraftTable
Function: generateJunctionDraftTable()
generateJunctionDraftTable(
seed,branch):string|null
Generates the drafts junction table rel_<seed>_<alias>_drafts for a many-to-many relation branch.
Parameters
seed
The parent seed definition.
branch
The multi-relation branch definition.
Returns
string | null
The CREATE TABLE SQL statement, or null if drafts are disabled.