Add an action to check for differences between sqlalchemy and alembic
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
## Motivation
[Why is this Task important? Explain the context and reasons for this task.]
- Due to mistakes, there is often a mismatch between the alembic migration file and the metadata currently written in sqlalchemy.
## Objective
[Clearly state the purpose or goal of this task.]
- Added action to github action to check if schema poured with slqalchemy metadata and autogenerated script with alembic revision --autogenerate is empty
## Details
[Outline the specific steps or changes needed to complete this task.]
1. Make sure that the upgrade, downgrade functions are empty when you run alembic revision.
1. Add that task to your CI workflow.
## Impact
[Describe how this task may indirectly influence other services, if at all.]
-
JIRA Issue: BA-542
Contributor guide
Assessment
This issue has not been assessed yet.