mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
86fe020a97
Summary: No editing or view yet, just adds the schema and a policy default. Part of D7391. Test Plan: `bin/storage upgrade` Reviewers: hach-que, btrahan Reviewed By: hach-que CC: aran Maniphest Tasks: T2230 Differential Revision: https://secure.phabricator.com/D7415
5 lines
203 B
SQL
5 lines
203 B
SQL
ALTER TABLE {$NAMESPACE}_repository.repository
|
|
ADD COLUMN pushPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
|
|
|
UPDATE {$NAMESPACE}_repository.repository
|
|
SET pushPolicy = 'users' WHERE pushPolicy = '';
|