go-pg / migrations

SQL database migrations for Golang go-pg and PostgreSQL
https://godoc.org/github.com/go-pg/migrations
BSD 2-Clause "Simplified" License
309 stars 59 forks source link

Migrations on a shards #82

Closed Nargott closed 4 years ago

Nargott commented 4 years ago

Seems like, that I can't use a migrations mechanism with a sharding: https://github.com/go-pg/sharding

After read the source code, I've understood, that migrations always run on a "public" schema. But I want to run migrations on every shard apart.