1

I have 2 repo which uses the same database. I have different migrations in each repo. how can I specify a custom migration table in 1 repo rather than the default migration table in Beego?

Beego version 1.10.1

Go version go1.10.3

dlsniper
  • 7,188
  • 1
  • 35
  • 44
priyesh
  • 45
  • 6

1 Answers1

1

It is not currently possible with beego, it uses hardcoded table name migrations as you can see in the source code - https://github.com/astaxie/beego/blob/develop/migration/migration.go#L149

But since it is open source, it can be improved with a PR!

Alex Pliutau
  • 21,392
  • 27
  • 113
  • 143