-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dynamically add new tables to existing databases #516
Labels
🐛 bug
Something isn't working
Comments
FlorianK13
changed the title
Add new tables to existing databases
Dynamically add new tables to existing databases
Apr 25, 2024
An automatic creation be great, but the value replacement (e.g. 4=biomass) should be added too. |
If only this was already implemented, we would not need to handle #572 under time pressure 🙄 |
With 0.14.5 we now have at least the case that tables that are new do not result in a crash anymore. However they are still not automatically added. |
Yes, let's talk about this in our JF |
Notes from JF:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If new tables are introduced by BNetzA, the current code cannot simply add them to an existing database. For example, when running
db.download()
and there is already a database initialized, a new table will cause an error. This should be changed, ie. new tables should be added automatically.They should take the name from
orm.py
if the new table is already part of a new open-mastr release. Or they should just use the german name otherwise.The text was updated successfully, but these errors were encountered: