mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
aae23f0204
Summary: Ref T13661. This allows posts to have comments disabled (or restricted) on a per-post basis, and makes them inherit the containing blog policy by default. Test Plan: Locked a post by editing its policy explicitly; locked a post by editing the containing blog policy. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13661 Differential Revision: https://secure.phabricator.com/D21754
6 lines
194 B
SQL
6 lines
194 B
SQL
ALTER TABLE {$NAMESPACE}_phame.phame_post
|
|
ADD interactPolicy VARBINARY(64) NOT NULL;
|
|
|
|
UPDATE {$NAMESPACE}_phame.phame_post
|
|
SET interactPolicy = 'obj.phame.blog'
|
|
WHERE interactPolicy = '';
|