Skip to content

BeechCMS


BeechCMS / @beechcms/core / generateCreateTable

Function: generateCreateTable() ​

generateCreateTable(seed): string

Generates the SQL CREATE TABLE IF NOT EXISTS content_{slug} statement with system columns and one column per branch.

Parameters ​

seed ​

Seed

The seed definition.

Returns ​

string

The CREATE TABLE SQL statement.