Koha/installer
Jonathan Druart 311afaaf91 Bug 13007: Add a foreign key for suggestions.budgetid
The DB field suggestions.budgetid should be linked to
aqbudgets.budget_id.

If the fund is removed, this column should be set to NULL.

Test plan:
1/ Using your SQL CLI (or equivalent), create or update 1+ suggestions and
set "0" in the budgetid field (or a nonexistent budget id).
2/ Execute the updatedabase script.
3/ Verify that your suggestion is unlinked to the nonexistent fund.
4/ Verify the constraint has correctly been added (show create table
suggestions).
5/ Check that this change does not affect the behavior on adding a
suggestion (linked to a fund or not).

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-09 15:49:50 -03:00
..
data/mysql Bug 13007: Add a foreign key for suggestions.budgetid 2015-02-09 15:49:50 -03:00
externalmodules.pl
html-template-to-template-toolkit.pl Bug 5917 using_https should be a global 2011-04-05 16:51:56 +12:00
install.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00