databaseChangeLog:
  - changeSet:
      id: 42
      author: camsaul
      changes:
        - dropColumn:
            tableName: query_queryexecution
            columnName: query_id
        - dropColumn:
            tableName: core_user
            columnName: is_staff
        - dropColumn:
            tableName: metabase_database
            columnName: organization_id
        - dropColumn:
            tableName: report_card
            columnName: organization_id
        - dropColumn:
            tableName: report_dashboard
            columnName: organization_id
        - dropTable:
            tableName: annotation_annotation
        - dropTable:
            tableName: core_permissionsviolation
        - dropTable:
            tableName: core_userorgperm
        - dropTable:
            tableName: core_organization
        - dropTable:
            tableName: metabase_foreignkey
        - dropTable:
            tableName: metabase_tablesegment
        - dropTable:
            tableName: query_query
        - dropTable:
            tableName: report_dashboardsubscription
        - dropTable:
            tableName: report_emailreport_recipients
        - dropTable:
            tableName: report_emailreportexecutions
        - dropTable:
            tableName: report_emailreport

databaseChangeLog:
  - changeSet:
      id: 42
      author: camsaul
      changes:
        - dropForeignKeyConstraint:
            baseTableName: query_queryexecution
            constraintName: fk_queryexecution_ref_query_id
        - dropColumn:
            tableName: query_queryexecution
            columnName: query_id
        - dropColumn:
            tableName: core_user
            columnName: is_staff
        - dropColumn:
            tableName: metabase_database
            columnName: organization_id
        - dropColumn:
            tableName: report_card
            columnName: organization_id
        - dropColumn:
            tableName: report_dashboard
            columnName: organization_id
        - dropTable:
            tableName: annotation_annotation
        - dropTable:
            tableName: core_permissionsviolation
        - dropTable:
            tableName: core_userorgperm
        - dropTable:
            tableName: core_organization
        - dropTable:
            tableName: metabase_foreignkey
        - dropTable:
            tableName: metabase_tablesegment
        - dropTable:
            tableName: query_query
        - dropTable:
            tableName: report_dashboardsubscription
        - dropTable:
            tableName: report_emailreport_recipients
        - dropTable:
            tableName: report_emailreportexecutions
        - dropTable:
            tableName: report_emailreport

Fix migration for MySQL :wrench:
Fix migration for MySQL :wrench:
