• Michał Zając's avatar
    Change JiraTrackerData#deployment_type based on URL · 79e52641
    Michał Zając authored
    We have around 90k records for this table where deployment_type is
    unknown. Our logic for JIRA integration started to diverge depending on
    whether the user is trying to integrate with JIRA Cloud or JIRA Server.
    
    This migration will try determining what is the deployment type for
    every entry in jira_tracker_data table based on the URL.
    
    The logic is simple – if URL ends in `atlassian.net` then most likely
    we're dealing with JIRA Cloud, otherwise it's JIRA Server.
    
    Changelog: other
    79e52641
20210421163509 64 Bytes