- now, the CMS_PAGE_MODULE has to be declared in the related CMS_SETUP via CMS_EXECUTION. (See demo for example) Improved the export facilities. Implemented blog and page export. Added import facilities. Implemented blog and page import. Improved node revision web interface (allow to edit a past revision, in order to restore it as latest revisionm i.e current). Removed specific tag from blog module, and reuse the taxonomy module for that purpose. Added WIKITEXT module that provide a WIKITEXT_FILTER, so now we can have wikitext content. - for now, no support for wiki links such as [[Foobar]].
31 lines
698 B
SQL
31 lines
698 B
SQL
|
|
CREATE TABLE nodes (
|
|
`nid` INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT UNIQUE,
|
|
`revision` INTEGER,
|
|
`type` TEXT NOT NULL,
|
|
`title` VARCHAR(255) NOT NULL,
|
|
`summary` TEXT,
|
|
`content` TEXT,
|
|
`format` VARCHAR(128),
|
|
`author` INTEGER,
|
|
`publish` DATETIME,
|
|
`created` DATETIME NOT NULL,
|
|
`changed` DATETIME NOT NULL,
|
|
`status` INTEGER,
|
|
CONSTRAINT Unique_nid_revision UNIQUE (nid,revision)
|
|
);
|
|
|
|
CREATE TABLE node_revisions (
|
|
`nid` INTEGER NOT NULL,
|
|
`revision` INTEGER NOT NULL,
|
|
`title` VARCHAR(255) NOT NULL,
|
|
`summary` TEXT,
|
|
`content` TEXT,
|
|
`format` VARCHAR(128),
|
|
`author` INTEGER,
|
|
`changed` DATETIME NOT NULL,
|
|
`status` INTEGER,
|
|
CONSTRAINT Unique_nid_revision PRIMARY KEY (nid,revision)
|
|
);
|
|
|