Open sergej-wv opened 1 month ago
Hi @sergej-wv , Can you share the contents of the _pms.0008_keyresult_alter_feedback_options_andmore file?
With Regards, Team Horilla
Hello,
I cannot find this file inside our current installation. We updated to the latest state of the master branch and also 1.0 branch.
Best regards.
Hi @sergej-wv , Was the migrations folder removed from the apps ?
With Regards, Team Horilla
No, I found other files with names starting with "0008" but not the one above.
Hi @sergej-wv , Can you share the contents of last migration file in the PMS app?
With Regards, Team Horilla
Hello,
how do I check the last migration file ? There are multiple migrations folders inside other folders, like "employee" and "base". In case it is helpful, this is the current git head:
$ git show
commit 7ee91eab27acb1b18683ec8a0e7bda168c522995 (HEAD -> master)
Author: Horilla <teamhorilla@gmail.com>
Date: Mon Mar 4 14:42:26 2024 +0530
[UPDT] BASE: Updated objectiveDetailModal style
diff --git a/templates/index.html b/templates/index.html
[...]
Best regards.
Hi @sergej-wv , The migration files are locally generated files to update the schemas for the database when there is a change in the models. There will be separate folders for migrations in each of the installed apps. In our case, you can go pms>migrations. Inside that folder you will find several python folders, in which we need the last written file (It will be file with name structure 000*.py. The last written file will be the one highest integer value. You can see the screenshot for an example. In the screenshot the last written file will be _0006_employeeobjective_created_by_andmore.py )
With Regards, Team Horilla
Hello,
this is the content of the migration with the highest number, 0007_alter_anonymousfeedback_feedback_description_and_more.py:
Is the issue coming out on our test database or your live database?
A live database is being used.
As far from the log details and the last written file we are not able to correctly point out the issue. Can we schedule a meeting with our development team where they'll be able to provide you with a solution for the same?
With Regards, Team Horilla
Hello,
what can "schedule a meeting" be understood ? Was this not already passed to the developers ? Also, in case it helps, we might provide access to the installation if we get the permission.
Best regards, Sergej Kurtin
Hi @sergej-wv , Yes the development team is adding the comments. I have mentioned a one on one meeting where we can talk in person and discuss the issue. Also if you can give us the permission access to the installation we can also help you with that.
With Regards, Team Horilla
Bug Report
Description
When updating the application to the latest state of the master or 1.0 branch an exception is thrown when appliying the migrations.
Steps to Reproduce
Expected Behavior
All migrations get applied.
Actual Behavior
Error output:
Environment
Priority
medium