mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
saving and inserting reusable content blocks
This commit is contained in:
parent
fdbf03b25c
commit
b7fa3b9006
32 changed files with 1334 additions and 768 deletions
10
core/database/scripts/autobuild/db_00009.sql
Normal file
10
core/database/scripts/autobuild/db_00009.sql
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* community edition */
|
||||
ALTER TABLE page ADD COLUMN `preset` BOOL NOT NULL DEFAULT 0 AFTER `pagetype`;
|
||||
ALTER TABLE page ADD COLUMN `presetid` CHAR(16) NOT NULL DEFAULT '' COLLATE utf8_bin AFTER `preset`;
|
||||
|
||||
/* Note:
|
||||
Preset data is not required in pagemeta as a simple join to page will surface these fields.
|
||||
Version history table does not need these fields as they are populated once during page creation:
|
||||
-- you cannot mark an existing section as a preset
|
||||
-- a page is only marked as preset during it's creation (e.g. created from an existing preset)
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue