Added notion of author (owner) and editor to allow the editing of node by non owner users.
This commit is contained in:
7
modules/node/site/scripts/updates/node-1.0.0.1.sql
Normal file
7
modules/node/site/scripts/updates/node-1.0.0.1.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE nodes ADD editor INTEGER ;
|
||||
UPDATE nodes SET editor = author;
|
||||
|
||||
ALTER TABLE node_revisions ADD editor INTEGER ;
|
||||
UPDATE node_revisions SET editor = author;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user