Makes it possible to run mysql integration tests for both grafana config db and tsdb at the same time using GRAFANA_TEST_DB=postgres go test ./pkg/...
3 lines
140 B
SQL
3 lines
140 B
SQL
CREATE DATABASE grafanadstest;
|
|
REVOKE CONNECT ON DATABASE grafanadstest FROM PUBLIC;
|
|
GRANT CONNECT ON DATABASE grafanadstest TO grafanatest; |