mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
28b12fb3cd
Summary: Ref T6203. Ref T13661. These policies are incorrectly nullable, although it's likely that no pathway exists in the application to write NULL into them. Fix the schema. Test Plan: Ran `bin/storage upgrade`. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13661, T6203 Differential Revision: https://secure.phabricator.com/D21748
5 lines
188 B
SQL
5 lines
188 B
SQL
UPDATE {$NAMESPACE}_phame.phame_blog
|
|
SET viewPolicy = 'admin' WHERE viewPolicy IS NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phame.phame_blog
|
|
CHANGE viewPolicy viewPolicy VARBINARY(64) NOT NULL;
|