mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-07-02 19:08:27 +00:00
Allow person to be correspondent, concerning or both
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
ALTER TABLE `person`
|
||||
ADD COLUMN `person_use` varchar(254);
|
||||
|
||||
UPDATE `person` SET `person_use` = 'concerning' where `concerning` = true;
|
||||
UPDATE `person` SET `person_use` = 'correspondent' where `concerning` = false;
|
||||
UPDATE `person` SET `person_use` = 'both' where `concerning` is null;
|
||||
|
||||
ALTER TABLE `person`
|
||||
DROP COLUMN `concerning`;
|
Reference in New Issue
Block a user