diff --git a/docs/sources/installation/upgrading.md b/docs/sources/installation/upgrading.md index 9ed1784aea7..244e565588e 100755 --- a/docs/sources/installation/upgrading.md +++ b/docs/sources/installation/upgrading.md @@ -297,4 +297,21 @@ The other authentication methods, _Access & secret key_ and _Credentials file_, For more information and details, please refer to [Using AWS CloudWatch in Grafana]({{< relref "../datasources/cloudwatch.md#authentication" >}}). -
\ No newline at end of file +### User invites database migration + +The database table _temp\_user_, that tracks user invites, is subject to a database migration that changes the data type of the _created_ and _updated_ columns: + +| Database | Old data type | New data type | +| -------- | ------------- | ------------- | +| Sqlite | DATETIME | INTEGER | +| MySQL | DATETIME | INT | +| Postgres | TIMESTAMP | INTEGER | + +> Please note that if downgrading Grafana to an earlier version, you have to manually change the data type of the _created_ and _updated_ columns back to _old data type_ , otherwise the user invite feature doesn't function as expected. + +### Snapshots database migration + +The database table _dashboard\_snapshot_, that stores dashboard snapshots, adds a new column _dashboard\_encrypted_ for storing an encrypted snapshot. +NOTE: Only snapshots created on Grafana 7.3 or later will use this column to store snapshot data as encrypted. Snapshots created before this version will be unaffected and remain unencrypted. + +