grafana/pkg/services/sqlstore
ying-jeanne 69b5a9c752
Chore: [Nested Folder] Add db migration at service start time (#58590)
* add db migration at service start time

* make changes for the 3 db

* revert migrator

* fix feature toggle check

Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com>
2022-11-12 09:51:46 -05:00
..
migrations Chore: [Nested Folder] Add db migration at service start time (#58590) 2022-11-12 09:51:46 -05:00
migrator Storage: include SQL implementation (#58018) 2022-11-04 17:30:22 -04:00
mockstore Revert "Chore: Refactor quota service (#57586)" (#58394) 2022-11-08 11:52:07 +02:00
permissions RBAC: Improve performance of dashboard filter query (#56813) 2022-10-25 11:14:27 +02:00
searchstore chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
session SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
bulk.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
database_wrapper.go Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
health_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
health.go Chore: Remove x from health, alert notification, dashboard, stats, user (#45265) 2022-02-17 16:59:09 +01:00
logger.go Chore: Update the xorm dependency (#22376) 2020-04-01 15:57:21 +02:00
org_test.go Chore: Remove methods from sqlstore (#57545) 2022-10-27 11:44:09 +02:00
org_users_test.go Chore: Remove methods from sqlstore interface (#55802) 2022-09-27 15:33:38 +02:00
org_users.go Auth: Adds validation and ingestion of conflict file (#53014) 2022-09-29 14:26:24 +02:00
org.go SQLStore: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +03:00
quota_test.go Revert "Chore: Refactor quota service (#57586)" (#58394) 2022-11-08 11:52:07 +02:00
quota.go Revert "Chore: Refactor quota service (#57586)" (#58394) 2022-11-08 11:52:07 +02:00
session_test.go SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
session.go SQLStore: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +03:00
sqlbuilder_test.go Chore: Move team store implementation to a separate package (#55514) 2022-09-22 19:16:21 +02:00
sqlbuilder.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go Chore: Enable ANSI_QUOTES for Mysql Database (#53277) 2022-08-08 12:14:17 -04:00
sqlstore.go Storage: include SQL implementation (#58018) 2022-11-04 17:30:22 -04:00
sqlstore.goconvey feat(invite): small progress 2015-07-17 14:42:49 +02:00
stats_integration_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
stats_test.go Use org service instead of sqlstore (#56407) 2022-10-13 08:40:46 -04:00
stats.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
store.go Revert "Chore: Refactor quota service (#57586)" (#58394) 2022-11-08 11:52:07 +02:00
time.go Chore: Use TimeNow instead of time.Now in user sql store to make it testable (#54983) 2022-09-09 18:43:14 +02:00
tls_mysql.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
transactions_test.go Chore: Remove apikey store methods from sqlstore (#53197) 2022-08-03 08:13:05 -04:00
transactions.go SQLStore: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +03:00
user.go Chore: Remove methods from sqlstore (#57545) 2022-10-27 11:44:09 +02:00