Added a foreign key to data repository from the task.job model.
For multiple servers in a same lab, this allows to disambiguate which server should run the task
Release steps below:
Pull the changes from github
1) Activate environment, cd to the alyx folder and install requirements
git stash
git pull
git stash pop
2) Update the database if any scheme changes
cd alyx
./manage.py makemigrations
./manage.py migrate
Release notes
Added a foreign key to data repository from the task.job model. For multiple servers in a same lab, this allows to disambiguate which server should run the task
Release steps below:
Pull the changes from github
1) Activate environment, cd to the alyx folder and install requirements
git stash git pull git stash pop
2) Update the database if any scheme changes
cd alyx ./manage.py makemigrations ./manage.py migrate
4) Restart the Apache server
sudo service apache2 reload