BeechCMS / @beechcms/core / generateDropTable
Function: generateDropTable()
generateDropTable(
seed):string[]
Returns every DROP TABLE IF EXISTS needed to fully remove a content type: the main table, the drafts table (if drafts enabled), full-text search table/triggers, and junction tables.
Parameters
seed
The seed definition.
Returns
string[]
An array of DROP TABLE / DROP TRIGGER SQL statements.