SE-1553 conditionally run migration on CSMH Extended table

Description

This PR conditionally runs the CSM BIGINT migration on the CSMH_EXTENDED table,
since this is an optional feature and the table isn't guaranteed to exist.

Currently, this issue is breaking provisioning master sandboxes for us. cf. https://github.com/edx/edx-platform/pull/21493#issuecomment-529009456

*JIRA tickets*:

*Dependencies*: None

*Sandbox URL*: TBD - sandbox is being provisioned.

*Merge deadline*: None

*Testing instructions*:

1. verify that the sandbox provisions successfully with this branch and
the ENABLE_CSMH_EXTENDED feature is off.

*Author notes and concerns*:

*Reviewers*

  • [ ] @bradenmacdonald

  • [ ] edX reviewer[s] TBD

*Settings*
```yaml
EDXAPP_FEATURES:
ENABLE_CSMH_EXTENDED: false
```

Status

Assignee

David Ormsbee

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Samuel Walladge

Repo

edx/edx-platform

PR Number

21,677

Customer

Course

None

OSCM Assignee

None

Github Latest Action

pull_request: closed

Github Latest Action by edX

Yes

Github PR Last Updated At

Sep 17, 2019, 5:19 PM

Github PR Last Updated By

ormsbee

Impacted Users (OSPR)

None

Impacted Environments (OSPR)

None

Feature Control (OSPR)

None

Priority

Unset
Configure