Ruben Vermeersch

Results 232 comments of Ruben Vermeersch
trafficstars

Creating temporary databases/tables etc is hard (you need the right permissions, which you generally don't want to give in production). Also you'd need to rewrite all queries to work against...

I never planned to add support for this, to keep things simple. Embedding `.go` migrations means pulling in the whole compiler and will make both the CLI tool as the...

Yup, Goose does this, so you might one to check that one. Sql-migrate was built mainly for use as a library, to embed migrations into your self-contained executable and not...

It does a down step first on the later migrations. On Tue, Jun 22, 2021, 16:53 Yonder Blue ***@***.***> wrote: > In the commit a8bcd23 > > a number of...

It's right in the commit you linked to :-) Check the unit tests. On Tue, Jun 22, 2021, 17:09 Yonder Blue ***@***.***> wrote: > I don't see that, would you...

> IMO this should be an option since running down migrations to the holes isn't always safe This can really only happen if you don't have a deployment process in...

What helps _a lot_ is running `go install github.com/mattn/go-sqlite3`. Same thing probably applies for the other database engines. This doesn't help you for a clean compile (it's all the cgo...

@pasztorpisti Cool to see you build your own tool, but please name it something else. Right now it's going to lead to a ton of confusion and it makes it...

So one reason I never added this was because it basically brakes CLI usage. Not sure what to do with this.

It's ok, we'll get this in. I just haven't found the time to review/merge this: out second kid has just been born and I more or less lost track of...