1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00
phorge-phorge/resources/sql/autopatches/20150708.arcanistproject.sql
Joshua Spence 0036670329 Remove remaining arcanist project code
Summary: Fixes T7604. This is the big scary change which drops the "arcanist project" fields from the database permanently.

Test Plan:
`grep`ped for the following to ensure that I had found all remaining references:

  - `/arcanistProject/i`
  - `/arcanist_project/i`
  - `/projectName/i`
  - `/project_name/i`
  - `/project_id/i`

WARNING: Wait at least one month before landing this.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7604

Differential Revision: https://secure.phabricator.com/D12899
2015-07-08 19:37:28 +10:00

10 lines
334 B
SQL

ALTER TABLE {$NAMESPACE}_differential.differential_diff
DROP COLUMN arcanistProjectPHID;
ALTER TABLE {$NAMESPACE}_differential.differential_revision
DROP COLUMN arcanistProjectPHID;
ALTER TABLE {$NAMESPACE}_releeph.releeph_project
DROP COLUMN arcanistProjectID;
DROP TABLE {$NAMESPACE}_repository.repository_arcanistproject;