mirror of https://github.com/grafana/grafana
prometheushacktoberfestmetricsmonitoringalertinggrafanagoinfluxdbmysqlpostgresanalyticsdata-visualizationdashboardbusiness-intelligenceelasticsearch
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
759 lines
33 KiB
759 lines
33 KiB
[
|
|
"create migration_log table",
|
|
"create user table",
|
|
"add unique index user.login",
|
|
"add unique index user.email",
|
|
"drop index UQE_user_login - v1",
|
|
"drop index UQE_user_email - v1",
|
|
"Rename table user to user_v1 - v1",
|
|
"create user table v2",
|
|
"create index UQE_user_login - v2",
|
|
"create index UQE_user_email - v2",
|
|
"copy data_source v1 to v2",
|
|
"Drop old table user_v1",
|
|
"Add column help_flags1 to user table",
|
|
"Update user table charset",
|
|
"Add last_seen_at column to user",
|
|
"Add missing user data",
|
|
"Add is_disabled column to user",
|
|
"Add index user.login/user.email",
|
|
"Add is_service_account column to user",
|
|
"Update is_service_account column to nullable",
|
|
"Add uid column to user",
|
|
"Update uid column values for users",
|
|
"Add unique index user_uid",
|
|
"Add is_provisioned column to user",
|
|
"update login field with orgid to allow for multiple service accounts with same name across orgs",
|
|
"update service accounts login field orgid to appear only once",
|
|
"update login and email fields to lowercase",
|
|
"update login and email fields to lowercase2",
|
|
"create temp user table v1-7",
|
|
"create index IDX_temp_user_email - v1-7",
|
|
"create index IDX_temp_user_org_id - v1-7",
|
|
"create index IDX_temp_user_code - v1-7",
|
|
"create index IDX_temp_user_status - v1-7",
|
|
"Update temp_user table charset",
|
|
"drop index IDX_temp_user_email - v1",
|
|
"drop index IDX_temp_user_org_id - v1",
|
|
"drop index IDX_temp_user_code - v1",
|
|
"drop index IDX_temp_user_status - v1",
|
|
"Rename table temp_user to temp_user_tmp_qwerty - v1",
|
|
"create temp_user v2",
|
|
"create index IDX_temp_user_email - v2",
|
|
"create index IDX_temp_user_org_id - v2",
|
|
"create index IDX_temp_user_code - v2",
|
|
"create index IDX_temp_user_status - v2",
|
|
"copy temp_user v1 to v2",
|
|
"drop temp_user_tmp_qwerty",
|
|
"Set created for temp users that will otherwise prematurely expire",
|
|
"create star table",
|
|
"add unique index star.user_id_dashboard_id",
|
|
"Add column dashboard_uid in star",
|
|
"Add column org_id in star",
|
|
"Add column updated in star",
|
|
"add index in star table on dashboard_uid, org_id and user_id columns",
|
|
"create org table v1",
|
|
"create index UQE_org_name - v1",
|
|
"create org_user table v1",
|
|
"create index IDX_org_user_org_id - v1",
|
|
"create index UQE_org_user_org_id_user_id - v1",
|
|
"create index IDX_org_user_user_id - v1",
|
|
"Update org table charset",
|
|
"Update org_user table charset",
|
|
"Migrate all Read Only Viewers to Viewers",
|
|
"create dashboard table",
|
|
"add index dashboard.account_id",
|
|
"add unique index dashboard_account_id_slug",
|
|
"create dashboard_tag table",
|
|
"add unique index dashboard_tag.dasboard_id_term",
|
|
"drop index UQE_dashboard_tag_dashboard_id_term - v1",
|
|
"Rename table dashboard to dashboard_v1 - v1",
|
|
"create dashboard v2",
|
|
"create index IDX_dashboard_org_id - v2",
|
|
"create index UQE_dashboard_org_id_slug - v2",
|
|
"copy dashboard v1 to v2",
|
|
"drop table dashboard_v1",
|
|
"alter dashboard.data to mediumtext v1",
|
|
"Add column updated_by in dashboard - v2",
|
|
"Add column created_by in dashboard - v2",
|
|
"Add column gnetId in dashboard",
|
|
"Add index for gnetId in dashboard",
|
|
"Add column plugin_id in dashboard",
|
|
"Add index for plugin_id in dashboard",
|
|
"Add index for dashboard_id in dashboard_tag",
|
|
"Update dashboard table charset",
|
|
"Update dashboard_tag table charset",
|
|
"Add column folder_id in dashboard",
|
|
"Add column isFolder in dashboard",
|
|
"Add column has_acl in dashboard",
|
|
"Add column uid in dashboard",
|
|
"Update uid column values in dashboard",
|
|
"Add unique index dashboard_org_id_uid",
|
|
"Remove unique index org_id_slug",
|
|
"Update dashboard title length",
|
|
"Add unique index for dashboard_org_id_title_folder_id",
|
|
"create dashboard_provisioning",
|
|
"Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1",
|
|
"create dashboard_provisioning v2",
|
|
"create index IDX_dashboard_provisioning_dashboard_id - v2",
|
|
"create index IDX_dashboard_provisioning_dashboard_id_name - v2",
|
|
"copy dashboard_provisioning v1 to v2",
|
|
"drop dashboard_provisioning_tmp_qwerty",
|
|
"Add check_sum column",
|
|
"Add index for dashboard_title",
|
|
"delete tags for deleted dashboards",
|
|
"delete stars for deleted dashboards",
|
|
"Add index for dashboard_is_folder",
|
|
"Add isPublic for dashboard",
|
|
"Add deleted for dashboard",
|
|
"Add index for deleted",
|
|
"Add column dashboard_uid in dashboard_tag",
|
|
"Add column org_id in dashboard_tag",
|
|
"Add missing dashboard_uid and org_id to dashboard_tag",
|
|
"Add apiVersion for dashboard",
|
|
"Add missing dashboard_uid and org_id to star",
|
|
"create data_source table",
|
|
"add index data_source.account_id",
|
|
"add unique index data_source.account_id_name",
|
|
"drop index IDX_data_source_account_id - v1",
|
|
"drop index UQE_data_source_account_id_name - v1",
|
|
"Rename table data_source to data_source_v1 - v1",
|
|
"create data_source table v2",
|
|
"create index IDX_data_source_org_id - v2",
|
|
"create index UQE_data_source_org_id_name - v2",
|
|
"Drop old table data_source_v1 #2",
|
|
"Add column with_credentials",
|
|
"Add secure json data column",
|
|
"Update data_source table charset",
|
|
"Update initial version to 1",
|
|
"Add read_only data column",
|
|
"Migrate logging ds to loki ds",
|
|
"Update json_data with nulls",
|
|
"Add uid column",
|
|
"Update uid value",
|
|
"Add unique index datasource_org_id_uid",
|
|
"add unique index datasource_org_id_is_default",
|
|
"Add is_prunable column",
|
|
"Add api_version column",
|
|
"create api_key table",
|
|
"add index api_key.account_id",
|
|
"add index api_key.key",
|
|
"add index api_key.account_id_name",
|
|
"drop index IDX_api_key_account_id - v1",
|
|
"drop index UQE_api_key_key - v1",
|
|
"drop index UQE_api_key_account_id_name - v1",
|
|
"Rename table api_key to api_key_v1 - v1",
|
|
"create api_key table v2",
|
|
"create index IDX_api_key_org_id - v2",
|
|
"create index UQE_api_key_key - v2",
|
|
"create index UQE_api_key_org_id_name - v2",
|
|
"copy api_key v1 to v2",
|
|
"Drop old table api_key_v1",
|
|
"Update api_key table charset",
|
|
"Add expires to api_key table",
|
|
"Add service account foreign key",
|
|
"set service account foreign key to nil if 0",
|
|
"Add last_used_at to api_key table",
|
|
"Add is_revoked column to api_key table",
|
|
"create dashboard_snapshot table v4",
|
|
"drop table dashboard_snapshot_v4 #1",
|
|
"create dashboard_snapshot table v5 #2",
|
|
"create index UQE_dashboard_snapshot_key - v5",
|
|
"create index UQE_dashboard_snapshot_delete_key - v5",
|
|
"create index IDX_dashboard_snapshot_user_id - v5",
|
|
"alter dashboard_snapshot to mediumtext v2",
|
|
"Update dashboard_snapshot table charset",
|
|
"Add column external_delete_url to dashboard_snapshots table",
|
|
"Add encrypted dashboard json column",
|
|
"Change dashboard_encrypted column to MEDIUMBLOB",
|
|
"create quota table v1",
|
|
"create index UQE_quota_org_id_user_id_target - v1",
|
|
"Update quota table charset",
|
|
"create plugin_setting table",
|
|
"create index UQE_plugin_setting_org_id_plugin_id - v1",
|
|
"Add column plugin_version to plugin_settings",
|
|
"Update plugin_setting table charset",
|
|
"update NULL org_id to 1",
|
|
"make org_id NOT NULL and DEFAULT VALUE 1",
|
|
"create session table",
|
|
"Drop old table playlist table",
|
|
"Drop old table playlist_item table",
|
|
"create playlist table v2",
|
|
"create playlist item table v2",
|
|
"Update playlist table charset",
|
|
"Update playlist_item table charset",
|
|
"Add playlist column created_at",
|
|
"Add playlist column updated_at",
|
|
"drop preferences table v2",
|
|
"drop preferences table v3",
|
|
"create preferences table v3",
|
|
"Update preferences table charset",
|
|
"Add column team_id in preferences",
|
|
"Update team_id column values in preferences",
|
|
"Add column week_start in preferences",
|
|
"Add column preferences.json_data",
|
|
"alter preferences.json_data to mediumtext v1",
|
|
"Add preferences index org_id",
|
|
"Add preferences index user_id",
|
|
"create alert table v1",
|
|
"add index alert org_id \u0026 id ",
|
|
"add index alert state",
|
|
"add index alert dashboard_id",
|
|
"Create alert_rule_tag table v1",
|
|
"Add unique index alert_rule_tag.alert_id_tag_id",
|
|
"drop index UQE_alert_rule_tag_alert_id_tag_id - v1",
|
|
"Rename table alert_rule_tag to alert_rule_tag_v1 - v1",
|
|
"Create alert_rule_tag table v2",
|
|
"create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2",
|
|
"copy alert_rule_tag v1 to v2",
|
|
"drop table alert_rule_tag_v1",
|
|
"create alert_notification table v1",
|
|
"Add column is_default",
|
|
"Add column frequency",
|
|
"Add column send_reminder",
|
|
"Add column disable_resolve_message",
|
|
"add index alert_notification org_id \u0026 name",
|
|
"Update alert table charset",
|
|
"Update alert_notification table charset",
|
|
"create notification_journal table v1",
|
|
"add index notification_journal org_id \u0026 alert_id \u0026 notifier_id",
|
|
"drop alert_notification_journal",
|
|
"create alert_notification_state table v1",
|
|
"add index alert_notification_state org_id \u0026 alert_id \u0026 notifier_id",
|
|
"Add for to alert table",
|
|
"Add column uid in alert_notification",
|
|
"Update uid column values in alert_notification",
|
|
"Add unique index alert_notification_org_id_uid",
|
|
"Remove unique index org_id_name",
|
|
"Add column secure_settings in alert_notification",
|
|
"alter alert.settings to mediumtext",
|
|
"Add non-unique index alert_notification_state_alert_id",
|
|
"Add non-unique index alert_rule_tag_alert_id",
|
|
"Drop old annotation table v4",
|
|
"create annotation table v5",
|
|
"add index annotation 0 v3",
|
|
"add index annotation 1 v3",
|
|
"add index annotation 2 v3",
|
|
"add index annotation 3 v3",
|
|
"add index annotation 4 v3",
|
|
"Update annotation table charset",
|
|
"Add column region_id to annotation table",
|
|
"Drop category_id index",
|
|
"Add column tags to annotation table",
|
|
"Create annotation_tag table v2",
|
|
"Add unique index annotation_tag.annotation_id_tag_id",
|
|
"drop index UQE_annotation_tag_annotation_id_tag_id - v2",
|
|
"Rename table annotation_tag to annotation_tag_v2 - v2",
|
|
"Create annotation_tag table v3",
|
|
"create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3",
|
|
"copy annotation_tag v2 to v3",
|
|
"drop table annotation_tag_v2",
|
|
"Update alert annotations and set TEXT to empty",
|
|
"Add created time to annotation table",
|
|
"Add updated time to annotation table",
|
|
"Add index for created in annotation table",
|
|
"Add index for updated in annotation table",
|
|
"Convert existing annotations from seconds to milliseconds",
|
|
"Add epoch_end column",
|
|
"Add index for epoch_end",
|
|
"Make epoch_end the same as epoch",
|
|
"Move region to single row",
|
|
"Remove index org_id_epoch from annotation table",
|
|
"Remove index org_id_dashboard_id_panel_id_epoch from annotation table",
|
|
"Add index for org_id_dashboard_id_epoch_end_epoch on annotation table",
|
|
"Add index for org_id_epoch_end_epoch on annotation table",
|
|
"Remove index org_id_epoch_epoch_end from annotation table",
|
|
"Add index for alert_id on annotation table",
|
|
"Increase tags column to length 4096",
|
|
"Increase prev_state column to length 40 not null",
|
|
"Increase new_state column to length 40 not null",
|
|
"create test_data table",
|
|
"create dashboard_version table v1",
|
|
"add index dashboard_version.dashboard_id",
|
|
"add unique index dashboard_version.dashboard_id and dashboard_version.version",
|
|
"Set dashboard version to 1 where 0",
|
|
"save existing dashboard data in dashboard_version table v1",
|
|
"alter dashboard_version.data to mediumtext v1",
|
|
"Add apiVersion for dashboard_version",
|
|
"create team table",
|
|
"add index team.org_id",
|
|
"add unique index team_org_id_name",
|
|
"Add column uid in team",
|
|
"Update uid column values in team",
|
|
"Add unique index team_org_id_uid",
|
|
"create team member table",
|
|
"add index team_member.org_id",
|
|
"add unique index team_member_org_id_team_id_user_id",
|
|
"add index team_member.team_id",
|
|
"Add column email to team table",
|
|
"Add column external to team_member table",
|
|
"Add column permission to team_member table",
|
|
"add unique index team_member_user_id_org_id",
|
|
"create dashboard acl table",
|
|
"add index dashboard_acl_dashboard_id",
|
|
"add unique index dashboard_acl_dashboard_id_user_id",
|
|
"add unique index dashboard_acl_dashboard_id_team_id",
|
|
"add index dashboard_acl_user_id",
|
|
"add index dashboard_acl_team_id",
|
|
"add index dashboard_acl_org_id_role",
|
|
"add index dashboard_permission",
|
|
"save default acl rules in dashboard_acl table",
|
|
"delete acl rules for deleted dashboards and folders",
|
|
"create tag table",
|
|
"add index tag.key_value",
|
|
"create login attempt table",
|
|
"add index login_attempt.username",
|
|
"drop index IDX_login_attempt_username - v1",
|
|
"Rename table login_attempt to login_attempt_tmp_qwerty - v1",
|
|
"create login_attempt v2",
|
|
"create index IDX_login_attempt_username - v2",
|
|
"copy login_attempt v1 to v2",
|
|
"drop login_attempt_tmp_qwerty",
|
|
"create user auth table",
|
|
"create index IDX_user_auth_auth_module_auth_id - v1",
|
|
"alter user_auth.auth_id to length 190",
|
|
"Add OAuth access token to user_auth",
|
|
"Add OAuth refresh token to user_auth",
|
|
"Add OAuth token type to user_auth",
|
|
"Add OAuth expiry to user_auth",
|
|
"Add index to user_id column in user_auth",
|
|
"Add OAuth ID token to user_auth",
|
|
"create server_lock table",
|
|
"add index server_lock.operation_uid",
|
|
"create user auth token table",
|
|
"add unique index user_auth_token.auth_token",
|
|
"add unique index user_auth_token.prev_auth_token",
|
|
"add index user_auth_token.user_id",
|
|
"Add revoked_at to the user auth token",
|
|
"add index user_auth_token.revoked_at",
|
|
"add external_session_id to user_auth_token",
|
|
"create cache_data table",
|
|
"add unique index cache_data.cache_key",
|
|
"create short_url table v1",
|
|
"add index short_url.org_id-uid",
|
|
"alter table short_url alter column created_by type to bigint",
|
|
"delete alert_definition table",
|
|
"recreate alert_definition table",
|
|
"add index in alert_definition on org_id and title columns",
|
|
"add index in alert_definition on org_id and uid columns",
|
|
"alter alert_definition table data column to mediumtext in mysql",
|
|
"drop index in alert_definition on org_id and title columns",
|
|
"drop index in alert_definition on org_id and uid columns",
|
|
"add unique index in alert_definition on org_id and title columns",
|
|
"add unique index in alert_definition on org_id and uid columns",
|
|
"Add column paused in alert_definition",
|
|
"drop alert_definition table",
|
|
"delete alert_definition_version table",
|
|
"recreate alert_definition_version table",
|
|
"add index in alert_definition_version table on alert_definition_id and version columns",
|
|
"add index in alert_definition_version table on alert_definition_uid and version columns",
|
|
"alter alert_definition_version table data column to mediumtext in mysql",
|
|
"drop alert_definition_version table",
|
|
"create alert_instance table",
|
|
"add index in alert_instance table on def_org_id, def_uid and current_state columns",
|
|
"add index in alert_instance table on def_org_id, current_state columns",
|
|
"add column current_state_end to alert_instance",
|
|
"remove index def_org_id, def_uid, current_state on alert_instance",
|
|
"remove index def_org_id, current_state on alert_instance",
|
|
"rename def_org_id to rule_org_id in alert_instance",
|
|
"rename def_uid to rule_uid in alert_instance",
|
|
"add index rule_org_id, rule_uid, current_state on alert_instance",
|
|
"add index rule_org_id, current_state on alert_instance",
|
|
"add current_reason column related to current_state",
|
|
"add result_fingerprint column to alert_instance",
|
|
"create alert_rule table",
|
|
"add index in alert_rule on org_id and title columns",
|
|
"add index in alert_rule on org_id and uid columns",
|
|
"add index in alert_rule on org_id, namespace_uid, group_uid columns",
|
|
"alter alert_rule table data column to mediumtext in mysql",
|
|
"add column for to alert_rule",
|
|
"add column annotations to alert_rule",
|
|
"add column labels to alert_rule",
|
|
"remove unique index from alert_rule on org_id, title columns",
|
|
"add index in alert_rule on org_id, namespase_uid and title columns",
|
|
"add dashboard_uid column to alert_rule",
|
|
"add panel_id column to alert_rule",
|
|
"add index in alert_rule on org_id, dashboard_uid and panel_id columns",
|
|
"add rule_group_idx column to alert_rule",
|
|
"add is_paused column to alert_rule table",
|
|
"fix is_paused column for alert_rule table",
|
|
"create alert_rule_version table",
|
|
"add index in alert_rule_version table on rule_org_id, rule_uid and version columns",
|
|
"add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns",
|
|
"alter alert_rule_version table data column to mediumtext in mysql",
|
|
"add column for to alert_rule_version",
|
|
"add column annotations to alert_rule_version",
|
|
"add column labels to alert_rule_version",
|
|
"add rule_group_idx column to alert_rule_version",
|
|
"add is_paused column to alert_rule_versions table",
|
|
"fix is_paused column for alert_rule_version table",
|
|
"create_alert_configuration_table",
|
|
"Add column default in alert_configuration",
|
|
"alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql",
|
|
"add column org_id in alert_configuration",
|
|
"add index in alert_configuration table on org_id column",
|
|
"add configuration_hash column to alert_configuration",
|
|
"create_ngalert_configuration_table",
|
|
"add index in ngalert_configuration on org_id column",
|
|
"add column send_alerts_to in ngalert_configuration",
|
|
"create provenance_type table",
|
|
"add index to uniquify (record_key, record_type, org_id) columns",
|
|
"create alert_image table",
|
|
"add unique index on token to alert_image table",
|
|
"support longer URLs in alert_image table",
|
|
"create_alert_configuration_history_table",
|
|
"drop non-unique orgID index on alert_configuration",
|
|
"drop unique orgID index on alert_configuration if exists",
|
|
"extract alertmanager configuration history to separate table",
|
|
"add unique index on orgID to alert_configuration",
|
|
"add last_applied column to alert_configuration_history",
|
|
"create library_element table v1",
|
|
"add index library_element org_id-folder_id-name-kind",
|
|
"create library_element_connection table v1",
|
|
"add index library_element_connection element_id-kind-connection_id",
|
|
"add unique index library_element org_id_uid",
|
|
"increase max description length to 2048",
|
|
"alter library_element model to mediumtext",
|
|
"add library_element folder uid",
|
|
"populate library_element folder_uid",
|
|
"add index library_element org_id-folder_uid-name-kind",
|
|
"clone move dashboard alerts to unified alerting",
|
|
"create data_keys table",
|
|
"create secrets table",
|
|
"rename data_keys name column to id",
|
|
"add name column into data_keys",
|
|
"copy data_keys id column values into name",
|
|
"rename data_keys name column to label",
|
|
"rename data_keys id column back to name",
|
|
"create kv_store table v1",
|
|
"add index kv_store.org_id-namespace-key",
|
|
"update dashboard_uid and panel_id from existing annotations",
|
|
"create permission table",
|
|
"add unique index permission.role_id",
|
|
"add unique index role_id_action_scope",
|
|
"create role table",
|
|
"add column display_name",
|
|
"add column group_name",
|
|
"add index role.org_id",
|
|
"add unique index role_org_id_name",
|
|
"add index role_org_id_uid",
|
|
"create team role table",
|
|
"add index team_role.org_id",
|
|
"add unique index team_role_org_id_team_id_role_id",
|
|
"add index team_role.team_id",
|
|
"create user role table",
|
|
"add index user_role.org_id",
|
|
"add unique index user_role_org_id_user_id_role_id",
|
|
"add index user_role.user_id",
|
|
"create builtin role table",
|
|
"add index builtin_role.role_id",
|
|
"add index builtin_role.name",
|
|
"Add column org_id to builtin_role table",
|
|
"add index builtin_role.org_id",
|
|
"add unique index builtin_role_org_id_role_id_role",
|
|
"Remove unique index role_org_id_uid",
|
|
"add unique index role.uid",
|
|
"create seed assignment table",
|
|
"add unique index builtin_role_role_name",
|
|
"add column hidden to role table",
|
|
"permission kind migration",
|
|
"permission attribute migration",
|
|
"permission identifier migration",
|
|
"add permission identifier index",
|
|
"add permission action scope role_id index",
|
|
"remove permission role_id action scope index",
|
|
"add group mapping UID column to user_role table",
|
|
"add user_role org ID, user ID, role ID, group mapping UID index",
|
|
"remove user_role org ID, user ID, role ID index",
|
|
"create query_history table v1",
|
|
"add index query_history.org_id-created_by-datasource_uid",
|
|
"alter table query_history alter column created_by type to bigint",
|
|
"create query_history_details table v1",
|
|
"rbac disabled migrator",
|
|
"teams permissions migration",
|
|
"dashboard permissions",
|
|
"dashboard permissions uid scopes",
|
|
"drop managed folder create actions",
|
|
"alerting notification permissions",
|
|
"create query_history_star table v1",
|
|
"add index query_history.user_id-query_uid",
|
|
"add column org_id in query_history_star",
|
|
"alter table query_history_star_mig column user_id type to bigint",
|
|
"create correlation table v1",
|
|
"add index correlations.uid",
|
|
"add index correlations.source_uid",
|
|
"add correlation config column",
|
|
"drop index IDX_correlation_uid - v1",
|
|
"drop index IDX_correlation_source_uid - v1",
|
|
"Rename table correlation to correlation_tmp_qwerty - v1",
|
|
"create correlation v2",
|
|
"create index IDX_correlation_uid - v2",
|
|
"create index IDX_correlation_source_uid - v2",
|
|
"create index IDX_correlation_org_id - v2",
|
|
"copy correlation v1 to v2",
|
|
"drop correlation_tmp_qwerty",
|
|
"add provisioning column",
|
|
"add type column",
|
|
"create entity_events table",
|
|
"create dashboard public config v1",
|
|
"drop index UQE_dashboard_public_config_uid - v1",
|
|
"drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1",
|
|
"Drop old dashboard public config table",
|
|
"recreate dashboard public config v1",
|
|
"create index UQE_dashboard_public_config_uid - v1",
|
|
"create index IDX_dashboard_public_config_org_id_dashboard_uid - v1",
|
|
"drop index UQE_dashboard_public_config_uid - v2",
|
|
"drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2",
|
|
"Drop public config table",
|
|
"Recreate dashboard public config v2",
|
|
"create index UQE_dashboard_public_config_uid - v2",
|
|
"create index IDX_dashboard_public_config_org_id_dashboard_uid - v2",
|
|
"create index UQE_dashboard_public_config_access_token - v2",
|
|
"Rename table dashboard_public_config to dashboard_public - v2",
|
|
"add annotations_enabled column",
|
|
"add time_selection_enabled column",
|
|
"delete orphaned public dashboards",
|
|
"add share column",
|
|
"backfill empty share column fields with default of public",
|
|
"create file table",
|
|
"file table idx: path natural pk",
|
|
"file table idx: parent_folder_path_hash fast folder retrieval",
|
|
"create file_meta table",
|
|
"file table idx: path key",
|
|
"set path collation in file table",
|
|
"migrate contents column to mediumblob for MySQL",
|
|
"managed permissions migration",
|
|
"managed folder permissions alert actions migration",
|
|
"RBAC action name migrator",
|
|
"Add UID column to playlist",
|
|
"Update uid column values in playlist",
|
|
"Add index for uid in playlist",
|
|
"update group index for alert rules",
|
|
"managed folder permissions alert actions repeated migration",
|
|
"admin only folder/dashboard permission",
|
|
"add action column to seed_assignment",
|
|
"add scope column to seed_assignment",
|
|
"remove unique index builtin_role_role_name before nullable update",
|
|
"update seed_assignment role_name column to nullable",
|
|
"add unique index builtin_role_name back",
|
|
"add unique index builtin_role_action_scope",
|
|
"add primary key to seed_assigment",
|
|
"add origin column to seed_assignment",
|
|
"add origin to plugin seed_assignment",
|
|
"prevent seeding OnCall access",
|
|
"managed folder permissions alert actions repeated fixed migration",
|
|
"managed folder permissions library panel actions migration",
|
|
"migrate external alertmanagers to datsourcse",
|
|
"create folder table",
|
|
"Add index for parent_uid",
|
|
"Add unique index for folder.uid and folder.org_id",
|
|
"Update folder title length",
|
|
"Add unique index for folder.title and folder.parent_uid",
|
|
"Remove unique index for folder.title and folder.parent_uid",
|
|
"Add unique index for title, parent_uid, and org_id",
|
|
"Sync dashboard and folder table",
|
|
"Remove ghost folders from the folder table",
|
|
"Remove unique index UQE_folder_uid_org_id",
|
|
"Add unique index UQE_folder_org_id_uid",
|
|
"Remove unique index UQE_folder_title_parent_uid_org_id",
|
|
"Add unique index UQE_folder_org_id_parent_uid_title",
|
|
"Remove index IDX_folder_parent_uid_org_id",
|
|
"Remove unique index UQE_folder_org_id_parent_uid_title",
|
|
"create anon_device table",
|
|
"add unique index anon_device.device_id",
|
|
"add index anon_device.updated_at",
|
|
"create signing_key table",
|
|
"add unique index signing_key.key_id",
|
|
"set legacy alert migration status in kvstore",
|
|
"migrate record of created folders during legacy migration to kvstore",
|
|
"Add folder_uid for dashboard",
|
|
"Populate dashboard folder_uid column",
|
|
"Add unique index for dashboard_org_id_folder_uid_title",
|
|
"Delete unique index for dashboard_org_id_folder_id_title",
|
|
"Delete unique index for dashboard_org_id_folder_uid_title",
|
|
"Add unique index for dashboard_org_id_folder_uid_title_is_folder",
|
|
"Restore index for dashboard_org_id_folder_id_title",
|
|
"Remove unique index for dashboard_org_id_folder_uid_title_is_folder",
|
|
"create sso_setting table",
|
|
"copy kvstore migration status to each org",
|
|
"add back entry for orgid=0 migrated status",
|
|
"managed dashboard permissions annotation actions migration",
|
|
"create cloud_migration table v1",
|
|
"create cloud_migration_run table v1",
|
|
"add stack_id column",
|
|
"add region_slug column",
|
|
"add cluster_slug column",
|
|
"add migration uid column",
|
|
"Update uid column values for migration",
|
|
"Add unique index migration_uid",
|
|
"add migration run uid column",
|
|
"Update uid column values for migration run",
|
|
"Add unique index migration_run_uid",
|
|
"Rename table cloud_migration to cloud_migration_session_tmp_qwerty - v1",
|
|
"create cloud_migration_session v2",
|
|
"create index UQE_cloud_migration_session_uid - v2",
|
|
"copy cloud_migration_session v1 to v2",
|
|
"drop cloud_migration_session_tmp_qwerty",
|
|
"Rename table cloud_migration_run to cloud_migration_snapshot_tmp_qwerty - v1",
|
|
"create cloud_migration_snapshot v2",
|
|
"create index UQE_cloud_migration_snapshot_uid - v2",
|
|
"copy cloud_migration_snapshot v1 to v2",
|
|
"drop cloud_migration_snapshot_tmp_qwerty",
|
|
"add snapshot upload_url column",
|
|
"add snapshot status column",
|
|
"add snapshot local_directory column",
|
|
"add snapshot gms_snapshot_uid column",
|
|
"add snapshot encryption_key column",
|
|
"add snapshot error_string column",
|
|
"create cloud_migration_resource table v1",
|
|
"delete cloud_migration_snapshot.result column",
|
|
"add cloud_migration_resource.name column",
|
|
"add cloud_migration_resource.parent_name column",
|
|
"add cloud_migration_session.org_id column",
|
|
"add cloud_migration_resource.error_code column",
|
|
"increase resource_uid column length",
|
|
"alter kv_store.value to longtext",
|
|
"add notification_settings column to alert_rule table",
|
|
"add notification_settings column to alert_rule_version table",
|
|
"removing scope from alert.instances:read action migration",
|
|
"managed folder permissions alerting silences actions migration",
|
|
"add record column to alert_rule table",
|
|
"add record column to alert_rule_version table",
|
|
"add resolved_at column to alert_instance table",
|
|
"add last_sent_at column to alert_instance table",
|
|
"Enable traceQL streaming for all Tempo datasources",
|
|
"Add scope to alert.notifications.receivers:read and alert.notifications.receivers.secrets:read",
|
|
"add metadata column to alert_rule table",
|
|
"add metadata column to alert_rule_version table",
|
|
"delete orphaned service account permissions",
|
|
"adding action set permissions",
|
|
"create user_external_session table",
|
|
"increase name_id column length to 1024",
|
|
"increase session_id column length to 1024",
|
|
"remove scope from alert.notifications.receivers:create",
|
|
"add created_by column to alert_rule_version table",
|
|
"add updated_by column to alert_rule table",
|
|
"add alert_rule_state table",
|
|
"add index to alert_rule_state on org_id and rule_uid columns",
|
|
"add guid column to alert_rule table",
|
|
"add rule_guid column to alert_rule_version table",
|
|
"drop index in alert_rule_version table on rule_org_id, rule_uid and version columns",
|
|
"populate rule guid in alert rule table",
|
|
"add index in alert_rule_version table on rule_org_id, rule_uid, rule_guid and version columns",
|
|
"add index in alert_rule_version table on rule_guid and version columns",
|
|
"add index in alert_rule table on guid columns",
|
|
"create data_source_usage_by_day table",
|
|
"create data_source_usage_by_day(data_source_id) index",
|
|
"create data_source_usage_by_day(data_source_id, day) unique index",
|
|
"create dashboard_usage_by_day table",
|
|
"create dashboard_usage_sums table",
|
|
"create dashboard_usage_by_day(dashboard_id) index",
|
|
"create dashboard_usage_by_day(dashboard_id, day) index",
|
|
"add column errors_last_1_days to dashboard_usage_sums",
|
|
"add column errors_last_7_days to dashboard_usage_sums",
|
|
"add column errors_last_30_days to dashboard_usage_sums",
|
|
"add column errors_total to dashboard_usage_sums",
|
|
"create dashboard_public_usage_by_day table",
|
|
"add column cached_queries to dashboard_usage_by_day table",
|
|
"add column cached_queries to dashboard_public_usage_by_day table",
|
|
"add column dashboard_uid to dashboard_usage_sums",
|
|
"add column org_id to dashboard_usage_sums",
|
|
"add column dashboard_uid to dashboard_usage_by_day",
|
|
"add column org_id to dashboard_usage_by_day",
|
|
"create dashboard_usage_by_day(dashboard_uid, org_id, day) unique index",
|
|
"Add missing dashboard_uid and org_id to dashboard_usage_by_day and dashboard_usage_sums",
|
|
"Add dashboard_usage_sums(org_id, dashboard_uid) index",
|
|
"create user_dashboard_views table",
|
|
"add index user_dashboard_views.user_id",
|
|
"add index user_dashboard_views.dashboard_id",
|
|
"add unique index user_dashboard_views_user_id_dashboard_id",
|
|
"add org_id column to user_dashboard_views",
|
|
"add dashboard_uid column to user_dashboard_views",
|
|
"add unique index user_dashboard_views_org_id_dashboard_uid",
|
|
"add unique index user_dashboard_views_org_id_user_id_dashboard_uid",
|
|
"populate user_dashboard_views.dashboard_uid and user_dashboard_views.org_id from dashboard table",
|
|
"create user_stats table",
|
|
"add unique index user_stats(user_id)",
|
|
"create data_source_cache table",
|
|
"add index data_source_cache.data_source_id",
|
|
"add use_default_ttl column",
|
|
"add data_source_cache.data_source_uid column",
|
|
"remove abandoned data_source_cache records",
|
|
"update data_source_cache.data_source_uid value",
|
|
"add index data_source_cache.data_source_uid",
|
|
"add data_source_cache.ttl_resources_ms column",
|
|
"update data_source_cache.ttl_resources_ms to have the same value as ttl_ms",
|
|
"create data_source_acl table",
|
|
"add index data_source_acl.data_source_id",
|
|
"add unique index datasource_acl.unique",
|
|
"create license_token table",
|
|
"drop recorded_queries table v14",
|
|
"drop recording_rules table v14",
|
|
"create recording_rules table v14",
|
|
"create remote_write_targets table v1",
|
|
"Add prom_name to recording_rules table",
|
|
"ensure remote_write_targets table",
|
|
"create report config table v1",
|
|
"Add index report.user_id",
|
|
"add index to dashboard_id",
|
|
"add index to org_id",
|
|
"Add timezone to the report",
|
|
"Add time_from to the report",
|
|
"Add time_to to the report",
|
|
"Add PDF landscape option to the report",
|
|
"Add monthly day scheduling option to the report",
|
|
"Add PDF layout option to the report",
|
|
"Add PDF orientation option to the report",
|
|
"Update report pdf_orientation from pdf_landscape",
|
|
"create report settings table",
|
|
"Add dashboard_uid field to the report",
|
|
"Add template_vars field to the report",
|
|
"Add option to include dashboard url in the report",
|
|
"Add state field to the report",
|
|
"Add option to add CSV files to the report",
|
|
"Add scheduling start date",
|
|
"Add missing schedule_start date for old reports",
|
|
"Add scheduling end date",
|
|
"Add schedulinng custom interval frequency",
|
|
"Add scheduling custom interval amount",
|
|
"Add workdays only flag to report",
|
|
"create report dashboards table",
|
|
"Add index report_dashboards.report_id",
|
|
"Migrate report fields into report_dashboards",
|
|
"Add formats option to the report",
|
|
"Migrate reports with csv enabled",
|
|
"Migrate ancient reports",
|
|
"Add created column in report_dashboards",
|
|
"Add scale_factor to the report",
|
|
"Alter scale_factor from TINYINT to SMALLINT",
|
|
"Add uid column to report",
|
|
"Add unique index reports_org_id_uid",
|
|
"Add pdf show template variable values to the report",
|
|
"Add pdf combine in one file",
|
|
"Add pdf theme to report settings table",
|
|
"Add email subject to the report",
|
|
"Populate email subject with report name",
|
|
"Add embedded image theme to report settings table",
|
|
"create team group table",
|
|
"add index team_group.org_id",
|
|
"add unique index team_group.org_id_team_id_group_id",
|
|
"add index team_group.group_id",
|
|
"create settings table",
|
|
"add unique index settings.section_key",
|
|
"add setting.encrypted_value",
|
|
"migrate role names",
|
|
"rename orgs roles",
|
|
"remove duplicated org role",
|
|
"migrate alerting role names",
|
|
"data source permissions",
|
|
"data source uid permissions",
|
|
"rename permissions:delegate scope",
|
|
"remove invalid managed permissions",
|
|
"builtin role migration",
|
|
"seed permissions migration",
|
|
"managed permissions migration enterprise",
|
|
"create table dashboard_public_email_share",
|
|
"create table dashboard_public_magic_link",
|
|
"create table dashboard_public_session",
|
|
"add last_seen_at column"
|
|
]
|
|
|