Updated table node to use status (1:not_published, 2:published, 3:trash )instead of deleted_at to implement soft deletes.

Updated queries to use the new status field.
Updated CMS_NODE with a new status attribute.
This commit is contained in:
jvelilla
2015-05-11 16:38:51 -03:00
parent c2d0fbf445
commit e767e1bc47
5 changed files with 83 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ CREATE TABLE "nodes"(
"publish" DATETIME,
"created" DATETIME NOT NULL,
"changed" DATETIME NOT NULL,
"deleted_at" DATETIME NULL
"status" INTEGER
);
CREATE TABLE page_nodes(