github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/datastore/crdb/migrations/manager.go (about) 1 package migrations 2 3 import ( 4 "github.com/jackc/pgx/v5" 5 6 "github.com/authzed/spicedb/pkg/migrate" 7 ) 8 9 var ( 10 noNonAtomicMigration migrate.MigrationFunc[*pgx.Conn] 11 noAtomicMigration migrate.TxMigrationFunc[pgx.Tx] 12 ) 13 14 // CRDBMigrations implements a migration manager for the CRDBDriver. 15 var CRDBMigrations = migrate.NewManager[*CRDBDriver, *pgx.Conn, pgx.Tx]()