grafana/pkg/services
Oleg Gaidarenko b37ee65bd3
Chore: prepare our SQL for cockroach db (#16471)
This is basically implementation of the https://github.com/grafana/grafana/issues/8900#issuecomment-435437167
points, except for the type conversion bit.

I tried to implement idea mentioned in cockroachdb ticket (see below).
And it is possible, but it complicates things as lot - not only we have to
have 4 SQL statements instead of one, but we would have to copy the column
structure as well - PK, FG, indexes and stuff, plus there will
be additional downtime with this approach.

So idea for this pull is to prepare our SQL as much as possible, so when
cockroachdb will add support for full type conversions, we could easilly add
support for it as well.

* Add `CASCADE` to `DROP INDEX` statement

* Make string conversions explicit

Thanks @Luit

Ref #8900
Ref cockroach/cockroach#9851
2019-04-15 18:49:24 +03:00
..
alerting Pushover alert, support for different sound for OK (#16525) 2019-04-12 14:57:17 +02:00
annotations renames PartialMatch to MatchAny 2018-09-13 15:15:42 +02:00
auth support get user tokens/revoke all user tokens in UserTokenService 2019-03-08 15:15:17 +01:00
cache refactor datasource caching 2018-10-30 09:31:56 +01:00
cleanup renames main lock function 2018-12-17 16:36:57 +01:00
dashboards Provisioning: Do not allow deletion of provisioned dashboards (#16211) 2019-04-10 13:29:10 +02:00
datasources register datasource cache service with proper name 2018-10-30 12:32:14 +01:00
guardian add debug logging of folder/dashbord permission checks 2018-10-23 11:08:57 +02:00
hooks Adds backend hooks service so extensions can modify index data 2018-10-12 11:26:42 +02:00
notifications Fix: Alert email variable name typo fixed (#16232) 2019-03-27 09:42:20 +01:00
provisioning Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
quota use authtoken for session quota restrictions 2019-02-12 15:10:55 +01:00
rendering log phantomjs output even if it timeout and include orgId when render alert 2019-03-06 13:53:23 +01:00
search fix: Return url when query dashboards by tag 2019-02-28 10:44:39 +01:00
session removes unused session code 2019-02-12 12:33:54 +01:00
sqlstore Chore: prepare our SQL for cockroach db (#16471) 2019-04-15 18:49:24 +03:00
teamguardian teams: local access to bus, moving away from dep on global. 2019-03-19 14:01:20 +01:00