Michael Fridman

Results 82 issues of Michael Fridman

In many systems, it's quite common to have migration(s) that insert some piece of data that **should always** be there, such as reference tables or an admin user. However, when...

feature

For example: ``` go test -race -count=1 ./internal/... -json -cover | go run main.go -trimpath=auto ┌────────────────────────────────────────────────────────────┐ │ STATUS │ ELAPSED │ PACKAGE │ COVER │ PASS │ FAIL │ SKIP...

Related to #663 Picks up from https://github.com/pressly/goose/pull/741 This PR adds an experimental new CLI, gated by `GOOSE_CLI=1` env variable. - uses `goose.Provider` - updated CLI experience. goose is a ~13yo...

Opening this issue in case this might be interesting to others. Feeback welcome. Extend goose to support type-safe Go code generation from SQL queries using the schema information from migration...

feature

These tests fail 1/3 of the time, so it would be nice to investigate them. > Unexpected exception: No alive nodes, table=goose_db_version, default_replication_num=1 https://github.com/pressly/goose/actions/runs/12413322405/job/34654948890

### Description The current s3 storage implementation depends on: ``` github.com/aws/aws-sdk-go v1.55.5 ``` However, this SDK has been in maintenance mode since July 31, 2024 and will be EOL on...

**Describe the bug** I found a slight difference in scanning behavior between pgx and database/sql. It appears pgx is more strict with type conversions. For example, with this query: ```sql...

bug

It's unfortunate the sqlite schema uses AUTOINCREMENT, since this is not supported in duckdb (which is fine!). https://github.com/duckdb/duckdb/issues/15436 For background, see: https://duckdb.org/docs/stable/sql/statements/create_sequence https://duckdb.org/docs/stable/sql/constraints But I want to use goose with...

Users implementing custom `Locker` or `SessionLocker` interfaces would benefit from access to test helper functions to verify their implementations function correctly under concurrent access. Currently, these helpers are only available...