grafana/pkg/services/sqlstore/migrations
Daniel Lee 16cda723d3 migrations: dashboard version migration handles nulls
If a dashboard has a null value for updated_by then the migration
for the dashboard version table fails. This change uses coalesce to
set -1 instead of null when inserting into the created_by column
which has a non-null constraint. Fixes #8783.
2017-07-05 22:06:00 +02:00
..
alert_mig.go tweak column lengths for utf8mb4 support on older mysql (#8483) 2017-05-29 08:31:36 +02:00
annotation_mig.go annotations: removed category stuff, my mistake, we need tags 2017-04-18 17:15:22 +02:00
apikey_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
common.go Added missing common.go 2015-02-24 19:10:41 +01:00
dashboard_mig.go reduce length of dashboard columns used in compound indexes (#8507) 2017-06-04 14:28:03 +02:00
dashboard_snapshot_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
dashboard_version_mig.go migrations: dashboard version migration handles nulls 2017-07-05 22:06:00 +02:00
datasource_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
heartbeat_mig.go feat(query_part): refactoring query part 2016-08-15 17:20:45 +02:00
migrations_test.go Merge branch 'master' into alert_ui_take2 2016-06-11 12:17:14 +02:00
migrations.go History and Version Control for Dashboard Updates 2017-05-24 19:14:39 -04:00
org_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
playlist_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
plugin_setting.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
preferences_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
quota_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00
session_mig.go Issue 3461: Session table is now created automatically 2015-12-23 01:33:46 -06:00
stats_mig.go mysql: minor progress on response processing 2017-03-31 11:45:25 +02:00
temp_user.go tweak column lengths for utf8mb4 support on older mysql (#8483) 2017-05-29 08:31:36 +02:00
user_mig.go utf8mb4 encoding (#7959) 2017-03-28 14:34:53 +02:00