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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user