We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently it is impossible to create a migration table with name master.migrations for example. The reason is the regexp that check the name
master.migrations
migrate/migrate.go
Line 18 in 507b57a
This can be useful when a Postgresql DB contains multiple schemas and you want to create migration table in a specific one.
I suggest to add '.' as a valid character tableMatcher = regexp.MustCompile(^[\w\.]+$)
tableMatcher = regexp.MustCompile(
)
The text was updated successfully, but these errors were encountered:
Hey @mirkoperillo. That sounds reasonable. Would you like to submit a PR along with a test?
Sorry, something went wrong.
@markuswustenberg yes, I'm interested. I'm going to provide a PR asap
Support dots in migrations table name (#26)
b86d7a9
Fixed #23.
@mirkoperillo Thanks again. 😊 I've just released v0.4.2 where your change is included.
Successfully merging a pull request may close this issue.
Currently it is impossible to create a migration table with name
master.migrations
for example.The reason is the regexp that check the name
migrate/migrate.go
Line 18 in 507b57a
This can be useful when a Postgresql DB contains multiple schemas and you want to create migration table in a specific one.
I suggest to add '.' as a valid character
tableMatcher = regexp.MustCompile(
^[\w\.]+$)
The text was updated successfully, but these errors were encountered: