Koha/installer/data/mysql
Galen Charlton a6b2f6a161 Bug 11391: drop default value on suggestions.suggesteddate column
The 'default 0' clause got translated as an invalid constant
default of '0000-00-00' when DBIx::Schema is used to deploy
the suggestions table into a Pg database.  This patch drops
the default.

To test:

[1] Apply the patch and run the SQL specified in the database
    updated.
[2] Verify that the suggestions table no longer has an
    explicit default value for the suggesteddate column.
[3] Verify that prove -v t/db_dependent/Suggestions.t
    passes.
[4] Verify that installer/data/mysql/kohastructure.sql runs
    cleanly in an empty database.
[5] Verify that there are no visible regressions of the
    purchase suggestions functionality.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Having a default of 0 on a date seems like a mad thing to do anyway,
so good to get rid of it

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-23 16:20:43 +00:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
en Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
es-ES Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
fr-FR Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
it-IT Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
nb-NO Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
pl-PL Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
ru-RU Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
uk-UA Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 11391: drop default value on suggestions.suggesteddate column 2013-12-23 16:20:43 +00:00
labels_upgrade.pl
patroncards_upgrade.pl
sample_only_param_tables.sql
sysprefs.sql Bug 8230: Display acquisition details on the catalogue detail page 2013-12-13 23:22:05 +00:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 11391: drop default value on suggestions.suggesteddate column 2013-12-23 16:20:43 +00:00