Skip to content

update redcap_history_version at each install/upgrade #66

@pbchase

Description

@pbchase

At each upgrade, REDCap upgrade.php script adds or replaces a row in redcap_history_version. the fab deploy and upgrade tasks do not do that, but should. The line from REDCap we need to imitate is

REPLACE INTO redcap_history_version (`date`, redcap_version) values (CURDATE(), '$redcap_version');

With variables substituted, that line loks like this:

REPLACE INTO redcap_history_version (`date`, redcap_version) values (CURDATE(), '9.3.5');

Look for code to steal at

def set_redcap_config(field_name="", value=""):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions