Documentation
¶
Index ¶
- func RunMigration(t *testing.T, ctx context.Context, sourceURL, targetURL string, ...)
- func RunMigrationExpectError(t *testing.T, ctx context.Context, sourceURL, targetURL string, ...)
- func RunMigrationExpectSkip(t *testing.T, ctx context.Context, sourceURL, targetURL string, ...)
- func RunMigrationWithExcludeSchemas(t *testing.T, ctx context.Context, sourceURL, targetURL string, ...)
- func RunMigrationWithOptions(t *testing.T, ctx context.Context, sourceURL, targetURL string, ...)
- func ValidateBasicMigration(t *testing.T, ctx context.Context, targetConn *pgx.Conn)
- func ValidateIDsInRange(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...)
- func ValidatePrimaryKey(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...)
- func ValidateRowCount(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...) (int, int)
- func ValidateSchemaColumns(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...)
- func ValidateSchemaConstraints(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...)
- func ValidateTableMigration(t *testing.T, ctx context.Context, sourceConn, targetConn *pgx.Conn, ...)
- type MigrationOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMigration ¶
func RunMigrationExpectError ¶
func RunMigrationExpectSkip ¶
func RunMigrationWithOptions ¶
func ValidateBasicMigration ¶
func ValidateIDsInRange ¶
func ValidatePrimaryKey ¶
func ValidateRowCount ¶
func ValidateSchemaColumns ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.