github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/internal/datastore/postgres/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  	noTxMigration        migrate.TxMigrationFunc[pgx.Tx]
    12  )
    13  
    14  // DatabaseMigrations implements a migration manager for the Postgres Driver.
    15  var DatabaseMigrations = migrate.NewManager[*AlembicPostgresDriver, *pgx.Conn, pgx.Tx]()