The constraint name parameter of create_foreign_key should be optional, but the batch function defined it as str instead of Optional[str].
Closes #1429
Checklist
This pull request is:
[ ] A documentation / typographical error fix
Good to go, no issue or tests are needed
[X] A short code fix
please include the issue number, and create an issue if none exists, which
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
Please include: Fixes: #<issue number> in the commit message
please include tests. one line code fixes without tests will not be accepted.
[ ] A new feature implementation
please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
Please include: Fixes: #<issue number> in the commit message
Description
The constraint name parameter of create_foreign_key should be optional, but the batch function defined it as str instead of Optional[str].
Closes #1429
Checklist
This pull request is:
Fixes: #<issue number>
in the commit messageFixes: #<issue number>
in the commit messageHave a nice day!