spanner-annotationsimpls-fixes (#102622)

* Fix DELETE statements.
* Reset sequence generator when truncating tables.
* Quote "at", since it's a keyword in Spanner.
This commit is contained in:
Peter Štibraný
2025-03-21 16:10:51 +01:00
committed by GitHub
parent 19d1ded3bf
commit 3d53968ecb
7 changed files with 28 additions and 6 deletions
@@ -183,6 +183,7 @@ func NewTestStore(tb TestingTB, opts ...TestOption) *SQLStore {
tb.Fatalf("failed to truncate DB tables after migrations: %v", err)
panic("unreachable")
}
testSQLStore.engine.ResetSequenceGenerator()
}
return store