forked from siemens/codeface
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'committer' column to DB table 'commit'
For better traceability and to enable subsequent analyses, we now always store the committer of a commit in the database during commit analysis in addition to the commit's author. To add the missing column in existing databases created with previous schemas, run the following command inside MySQL: ALTER TABLE `codeface`.`commit` ADD COLUMN `committer` BIGINT NOT NULL COMMENT '' AFTER `author`, ADD CONSTRAINT `commit_committer` FOREIGN KEY (`committer`) REFERENCES `codeface`.`person` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, DROP INDEX `commit_person_idx`, ADD INDEX `commit_person_idx` (`author` ASC, `committer` ASC) COMMENT ''; This fixes siemens#59. Signed-off-by: Claus Hunsen <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters