Merge pull request #54524 from aanderse/redmine
redmine: add missing 'migrate' command prior to starting the application
commit423e26a1c595c8e91e481e26ea70e7fb8cf17b46
authorMichael Raskin <7c6f434c@mail.ru>
dateTue 29 Jan 2019, 22:27 (8 years ago)
parent99c025ad13d351
nixos/modules/services/misc/redmine.nix+1
@@ -292,6 +292,7 @@ in
292292 # execute redmine required commands prior to starting the application
293293 # NOTE: su required in case using mysql socket authentication
294294 /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake db:migrate'
295+ /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:plugins:migrate'
295296 /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:load_default_data'
296297
297298