-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
491 make migrations and sql achemy database consistent #940
491 make migrations and sql achemy database consistent #940
Conversation
yes makes sense to alter the tests like you say, create some txm event first then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loooks good! reply to your question plus one tiny comment
b956b52
to
3abe63d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
za mna fajn @kubantjan :)
3abe63d
to
58c3fbb
Compare
Fixes #491 consistency, not approach to ensure consistency each migration.
@kubantjan Should
default_txm_event_id
be a foreign key? In case of yes, I'd need to createtxm_event(id=1)
inprepare_app_for_tests.DbTests.setUp
beforeadd_users()
.