mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
a414fc497f
Summary: Fixes T3189. Now if you say #projects in a commit message they will associate nicely with the commit. Also we record transactions about all this project editing fun. Test Plan: tested migration by associating some projects with commits and verifying they still showed up post migration. tested adding / removing projects by doing so from the UI, noting transactions written nicely as well Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Projects: #projects Maniphest Tasks: T3189 Differential Revision: https://secure.phabricator.com/D10877
11 lines
355 B
SQL
11 lines
355 B
SQL
INSERT IGNORE INTO {$NAMESPACE}_repository.edge
|
|
(src, type, dst, dateCreated, seq)
|
|
SELECT src, 41, dst, dateCreated, seq
|
|
FROM {$NAMESPACE}_repository.edge
|
|
WHERE type = 15;
|
|
|
|
INSERT IGNORE INTO {$NAMESPACE}_project.edge
|
|
(src, type, dst, dateCreated, seq)
|
|
SELECT src, 42, dst, dateCreated, seq
|
|
FROM {$NAMESPACE}_project.edge
|
|
WHERE type = 16;
|