-
Notifications
You must be signed in to change notification settings - Fork 6
Conversation
…using sqlacodegen
…oft model files to v4_1_1_core.py
I have gone through the PR and it looks good. However, when I followed the same process, there were some dissimilarities in the resultant file. So, I pushed a commit so that we can view the diff. Here is the commit opencdms-dev/pyopencdms@1ad710e Feel free to revert the commit |
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.
LGTM. just let me know about the difference in this file opencdms/models/climsoft/v4_1_1_core.py. See this commit opencdms-dev/pyopencdms@1ad710e to see the diff
Thank you @faysal-ishtiaq - these are all of the known changes that @Shaibujnr has made manually in order to make the models match the output of This is mainly necessary so that SQLAlchemy's doesn't detect a difference and suggest a migration. Could you revert 1ad710e for us and then I'll merge? |
This reverts commit 1ad710e.
reverted just now |
Resolves #2
TO EXECUTE DATABASE DDL For CLIMSOFT
mysql -u root -p < script.sql
Execute the following statements to add primary key columns to the 24 core tables
GENERATE MODELS