mirror of https://github.com/grafana/grafana.git
Storage: increase size of the `contents` column (#69152)
* fix size of contents column * temporarily re-enable integration tests * lint * revert: temporarily re-enable integration tests
This commit is contained in:
parent
0ed5d3bdf2
commit
15f06a93b2
|
|
@ -64,4 +64,7 @@ func addDbFileStorageMigration(mg *migrator.Migrator) {
|
||||||
// MySQL `utf8mb4_unicode_ci` collation is set in `mysql_dialect.go`
|
// MySQL `utf8mb4_unicode_ci` collation is set in `mysql_dialect.go`
|
||||||
// SQLite uses a `BINARY` collation by default
|
// SQLite uses a `BINARY` collation by default
|
||||||
Postgres("ALTER TABLE file ALTER COLUMN path TYPE VARCHAR(1024) COLLATE \"C\";")) // Collate C - sorting done based on character code byte values
|
Postgres("ALTER TABLE file ALTER COLUMN path TYPE VARCHAR(1024) COLLATE \"C\";")) // Collate C - sorting done based on character code byte values
|
||||||
|
|
||||||
|
mg.AddMigration("migrate contents column to mediumblob for MySQL", migrator.NewRawSQLMigration("").
|
||||||
|
Mysql("ALTER TABLE file MODIFY contents MEDIUMBLOB;"))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue