-- The module handle basic_auth (at the moment).
-- Handle login, logout, register user, activate/reactivate an account, password recovery.
-- Send notification emails.
CMS Updates
-- Added a new service: email.
-- Updated Basic Auth Module to handle logout based on the browser type.
-- Updated persistence layer to save and remove and query activation token and password token.
-- Updated CMS_USER to handle status {active, not_active, trashed}.
-- Updated MySQL scripts to be in sync with SQLite scripts
25 lines
531 B
PL/PgSQL
25 lines
531 B
PL/PgSQL
BEGIN;
|
|
|
|
CREATE TABLE nodes (
|
|
nid INTEGER PRIMARY KEY AUTO_INCREMENT NOT NULL CHECK( nid >=0),
|
|
revision INTEGER,
|
|
type TEXT NOT NULL,
|
|
title VARCHAR(255) NOT NULL,
|
|
summary TEXT,
|
|
content MEDIUMTEXT NOT NULL,
|
|
format VARCHAR(255),
|
|
author INTEGER,
|
|
publish DATETIME,
|
|
created DATETIME NOT NULL,
|
|
changed DATETIME NOT NULL,
|
|
status INTEGER
|
|
);
|
|
|
|
CREATE TABLE page_nodes(
|
|
nid INTEGER PRIMARY KEY AUTO_INCREMENT NOT NULL CHECK( nid >=0),
|
|
revision INTEGER,
|
|
parent INTEGER
|
|
);
|
|
|
|
COMMIT;
|