Skip to content

Commit

Permalink
Merge pull request #11897 from grafana/cp-5.1.2
Browse files Browse the repository at this point in the history
Cherry-picks for v5.1.2
  • Loading branch information
marefr committed May 9, 2018
2 parents dc11bf7 + 92a8b08 commit c3c690e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"company": "Grafana Labs"
},
"name": "grafana",
"version": "5.1.1",
"version": "5.1.2",
"repository": {
"type": "git",
"url": "http://github.com/grafana/grafana.git"
Expand Down
6 changes: 3 additions & 3 deletions pkg/services/sqlstore/migrations/user_auth_mig.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ func addUserAuthMigrations(mg *Migrator) {
// add indices
addTableIndicesMigrations(mg, "v1", userAuthV1)

mg.AddMigration("alter user_auth.auth_id to length 255", new(RawSqlMigration).
mg.AddMigration("alter user_auth.auth_id to length 190", new(RawSqlMigration).
Sqlite("SELECT 0 WHERE 0;").
Postgres("ALTER TABLE user_auth ALTER COLUMN auth_id TYPE VARCHAR(255);").
Mysql("ALTER TABLE user_auth MODIFY auth_id VARCHAR(255);"))
Postgres("ALTER TABLE user_auth ALTER COLUMN auth_id TYPE VARCHAR(190);").
Mysql("ALTER TABLE user_auth MODIFY auth_id VARCHAR(190);"))
}
1 change: 1 addition & 0 deletions public/app/core/services/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class Analytics {
});
ga.l = +new Date();
ga('create', (<any>config).googleAnalyticsId, 'auto');
ga('set', 'anonymizeIp', true);
return ga;
}

Expand Down

0 comments on commit c3c690e

Please sign in to comment.