Convert unique keys in file and file_meta tables into primary key. (#112269)

* Convert unique keys in file and file_meta tables into primary key.

* Fix panic.

* Fix comment.

* Always add migration to drop auto-generated PK.

* Drop and create PK for mysql in single statement.

* Drop my_row_id column too. (Please drop primary key column to be able to drop generated invisible primary key.)
This commit is contained in:
Peter Štibraný
2025-10-15 12:33:04 +02:00
committed by GitHub
parent 1c614fdc9a
commit e290c92e1b
2 changed files with 132 additions and 4 deletions
@@ -176,9 +176,6 @@ func runTests(createCases func() []fsTestCase, t *testing.T) {
}
func TestIntegrationFsStorage(t *testing.T) {
if true {
t.Skip("flakey tests - skipping")
}
testutil.SkipIntegrationTestInShortMode(t)
//skipTest := true